Merge pull request #34 from DonMartin76/author_links
Better looking author links; fixed one image
This commit is contained in:
commit
8d5e8373e0
|
@ -45,6 +45,15 @@ layout: default
|
|||
<!-- This would be a great place to insert a link to all posts by an author. If I knew how. -->
|
||||
{% capture author_content_temp %}{{ author.name }}{% endcapture %}
|
||||
{% assign author_content = author_content_temp %}
|
||||
{% if author.twitter %}
|
||||
{% capture author_twitter %}<a href="https://twitter.com/{{ author.twitter }}" target="_blank"><i class="fa fa-twitter-square"> </i></a>{% endcapture %}
|
||||
{% endif %}
|
||||
{% if author.linkedin %}
|
||||
{% capture author_linkedin %}<a href="https://www.linkedin.com/in/{{ author.linkedin }}" target="_blank"><i class="fa fa-linkedin-square"> </i></a>{% endcapture %}
|
||||
{% endif %}
|
||||
{% if author.github %}
|
||||
{% capture author_github %}<a href="https://github.com/{{ author.github }}" target="_blank"><i class="fa fa-github-square"> </i></a>{% endcapture %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% assign author_content = page.author %}
|
||||
{% endif %}
|
||||
|
@ -60,29 +69,7 @@ layout: default
|
|||
{% if page.subtitle %}
|
||||
<h2 class="subheading">{{ page.subtitle }}</h2>
|
||||
{% endif %}
|
||||
<span class="meta">Posted by {{ author_content }} on {{ page.date | date: "%B %-d, %Y" }} {{ category_content }}{{ tags_content }}</span>
|
||||
{% if author %}
|
||||
<ul class="list-inline text-center">
|
||||
{% if author.twitter %}
|
||||
<li><a style="color:#ffffff" href="https://twitter.com/{{ author.twitter }}" target="_blank"><span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square-o fa-stack-2x"></i>
|
||||
<i class="fa fa-twitter fa-stack-1x"></i>
|
||||
</span></a></li>
|
||||
{% endif %}
|
||||
{% if author.linkedin %}
|
||||
<li><a style="color:#ffffff" href="https://www.linkedin.com/in/{{ author.linkedin }}" target="_blank"><span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square-o fa-stack-2x"></i>
|
||||
<i class="fa fa-linkedin fa-stack-1x"></i>
|
||||
</span></a></li>
|
||||
{% endif %}
|
||||
{% if author.github %}
|
||||
<li><a style="color:#ffffff" href="https://github.com/{{ author.github }}" target="_blank"><span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square-o fa-stack-2x"></i>
|
||||
<i class="fa fa-github fa-stack-1x"></i>
|
||||
</span></a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<span class="meta">Posted by {{ author_content }} {{ author_twitter }}{{ author_github }}{{ author_linkedin }} on {{ page.date | date: "%B %-d, %Y" }} {{ category_content }}{{ tags_content }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -53,9 +53,8 @@ Luckily, Azure already provides a means of anonymous and restricted access to st
|
|||
|
||||
We leverage the SAS feature to explicitly grant **write** access to one single blob (file) on the storage for which we define the file name. The access is granted for 60 minutes (one hour), which is enough to transfer large scale files. Our Content API exposes an end point which returns an URL containing the SAS token which can immediately be used to do a `PUT` to the storage.
|
||||
|
||||
<center>
|
||||
![Azure Storage SAS - Diagram]({{ site.url }}/images/azure-storage-sas-1.png)
|
||||
</center>
|
||||
{:.center}
|
||||
![Azure Storage SAS - Diagram]({{ site.url }}/images/azure-storage-sas-1.png){:style="margin:auto"}
|
||||
|
||||
The upload to the storage can either be done using any http library (using a `PUT`), or using an Azure Storage SDK ([available for multiple languages](https://github.com/Azure?utf8=%E2%9C%93&query=storage), it's on github), which in turn enables features like parallel uploading or block uploading (for more robust uploading).
|
||||
|
||||
|
|
Loading…
Reference in a new issue