This commit is contained in:
Mike Neumegen
2016-06-10 00:33:58 +12:00
parent 06673e2de9
commit a6d30be627
124 changed files with 987 additions and 1627 deletions

View File

@ -3,61 +3,63 @@ layout: default
---
<div class="post-header">
<h1 class="post-title-main">{% if page.homepage == true %} {{site.homepage_title}} {% else %}{{ page.title }}{% endif %}</h1>
<h1 class="post-title-main">
{% if page.homepage == true %}
{{ site.homepage_title }}
{% else %}
{{ page.title }}
{% endif %}
</h1>
</div>
{% if page.map == true %}
<script>
$(document).ready ( function(){
$('.box{{page.box_number}}').addClass('active');
$('.modalButton{{page.box_number}}').addClass('active');
});
</script>
<script>
$(document).ready ( function(){
$('.box{{page.box_number}}').addClass('active');
$('.modalButton{{page.box_number}}').addClass('active');
});
</script>
{% include custom/{{page.map_name}}.html %}
{% include custom/{{page.map_name}}.html %}
{% endif %}
<div class="post-content">
{% if page.summary %}
<div class="summary">{{page.summary}}</div>
{% endif %}
{% if page.summary %}
<div class="summary">{{ page.summary }}</div>
{% endif %}
{% unless page.toc == false %}
{% include toc.html %}
{% endunless %}
{% unless page.toc == false %}
{% include toc.html %}
{% endunless %}
{% unless jekyll.environment == "production" %}
{% unless jekyll.environment == "production" %}
{% if site.github_editme_path %}
<a target="_blank" href="https://github.com/{{ site.github_editme_path }}{% unless page.url contains "html" %}{{ page.url | replace: '.html', '.md' }}{% endunless %}{% if page.url contains "html" %}{{ page.url }}{% endif %}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a>
{% endif %}
{% endunless %}
{% if site.github_editme_path %}
<a target="_blank" href="https://github.com/{{site.github_editme_path}}{% unless page.url contains "html" %}{{page.url | replace: '.html', '.md'}}{% endunless %}{% if page.url contains "html" %}{{page.url }}{% endif %}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a>
{% endif %}
{% endunless %}
{{content}}
{{ content }}
<div class="tags">
{% if page.tags != null %}
<b>Tags: </b>
{% assign projectTags = site.data.tags.allowed-tags %}
{% for tag in page.tags %}
{% if projectTags contains tag %}
<a href="{{ "/tag_" | prepend: site.baseurl | append: tag }}" class="btn btn-default navbar-btn cursorNorm" role="button">{{page.tagName}}{{tag}}</a>
{% endif %}
{% endfor %}
{% endif %}
{% if page.tags != null %}
<strong>Tags: </strong>
{% assign projectTags = site.data.tags.allowed-tags %}
{% for tag in page.tags %}
{% if projectTags contains tag %}
<a href="{{ "/tag_" | prepend: site.baseurl | append: tag }}" class="btn btn-default navbar-btn cursorNorm" role="button">{{ page.tagName }}{{ tag }}</a>
{% endif %}
{% endfor %}
{% endif %}
</div>
{% if site.disqus %}
{% include disqus.html %}
{% endif %}
{% if site.disqus %}
{% include disqus.html %}
{% endif %}
</div>
{{site.data.alerts.hr_shaded}}
{{ site.data.alerts.hr_shaded }}
{% include footer.html %}