as this page is basically static, it makes no sense to use a dynamic content
management system as wordpress for it. So as of now I am using a static website
generator jekyll to generate this page from markdown
and plain html sites using few jekyll plugins and some javascript.
The photography subpage section is based on jekyll’s gallery
plugin and uses isotope and
slimbox2 as javascript elements.
The overview of the posts is generated using pagination and following jekyll code:
<p>
{% for post in paginator.posts %}
<h2> {{ post.title }}</h2>
<p class= "excerpt-meta" > {{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</p>
{{ post.excerpt }}
<a href= "{{ post.url }}" > Read more ... </a>
{% endfor %}
</p>
<!-- Pagination links -->
<div class= "pagination" >
{% if paginator.previous_page %}
<a href= "{{ paginator.previous_page_path }}" class= "previous" > ◀ </a>
{% else %}
<span class= "previous" ></span>
{% endif %}
<span class= "page_number " > {{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href= "{{ paginator.next_page_path }}" class= "next" > & #x25B6</a>
{% else %}
<span class= "next " ></span>
{% endif %}
</div>
Moving the old posts to the jekyll site will take some time though.