mirror of
https://github.com/arsenetar/arsenetar.github.io.git
synced 2024-11-14 01:59:02 +00:00
Andrew Senetar
03dc1a7a11
Update the site style and layout, to a more optimized and simple setup. This new layout uses less css and js and should provide a better UX. Still need to clean up a few things but ready for release.
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
{% include header.html %}
|
|
<div id="mainContent">
|
|
{% if page.feature %}
|
|
<div class="imageHeader">
|
|
<img src="{{ page.feature.url }}">
|
|
{% if page.feature.credit %}
|
|
<div class="imageCredit">
|
|
Image Source: <a href="{{ page.feature.creditLink }}">{{ page.feature.credit }}</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
<article>
|
|
<header>
|
|
<h5>
|
|
<em>By</em> {% if page.author != nil %}{{ page.author }} - {% endif %}{{ site.owner.name }}
|
|
- Published: <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time>
|
|
{% if page.modified %}
|
|
(<em>Revised:</em>
|
|
<time datetime="{{ page.modified | date_to_xmlschema }}">{{ page.modified | date_to_string }}</time>)
|
|
{% endif %}
|
|
<a class="iconLink" href="{{ site.url }}{{ page.url }}"><i class="large icon-bookmark"></i></a>
|
|
</h5>
|
|
</header>
|
|
<div class="content">
|
|
{{ content }}
|
|
</div>
|
|
{% if page.links %}
|
|
<footer>
|
|
{% for link in page.links %}
|
|
<!-- TODO -->
|
|
{% endfor %}
|
|
</footer>
|
|
{% endif %}
|
|
</article>
|
|
</div>
|
|
{% include footer.html %}
|