pmd/docs/_layouts/page.html

73 lines
1.8 KiB
HTML
Raw Normal View History

2016-09-07 16:10:48 -04:00
---
layout: default
---
2022-03-15 01:28:15 +01:00
{% include header.html %}
2016-09-07 16:10:48 -04:00
<div class="post-header">
<h1 class="post-title-main">{{ page.title }}</h1>
</div>
{% if page.simple_map == true %}
<script>
$(document).ready ( function(){
$('.box{{page.box_number}}').addClass('active');
});
</script>
{% include custom/{{page.map_name}}.html %}
{% elsif page.complex_map == true %}
<script>
$(document).ready ( function(){
$('.modalButton{{page.box_number}}').addClass('active');
});
</script>
{% include custom/{{page.map_name}}.html %}
{% endif %}
<div class="post-content">
{% if page.summary %}
<div class="summary">{{page.summary}}</div>
{% endif %}
<div id="inline-toc"><!-- empty, move TOC here when screen size too small --></div>
2016-09-07 16:10:48 -04:00
{{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_" | append: tag | append: ".html" }}" class="btn btn-default navbar-btn cursorNorm" role="button">{{page.tagName}}{{tag}}</a>
{% endif %}
{% endfor %}
{% endif %}
</div>
2022-02-25 19:01:18 +01:00
{% if site.github_editme_path %}
{% unless page.editmepath == false %}
<script>
$(document).ready ( function(){
$('div.post-content').find('h2').after(
' <a target="_blank" href="https://github.com/{{site.github_editme_path}}{{editmepath}}" class="btn btn-default btn-xs githubEditButton" role="button"><i class="fa fa-github fa-lg"></i></a>'
);
});
</script>
2022-02-25 19:01:18 +01:00
{% endunless %}
{% endif %}
2016-09-07 16:10:48 -04:00
{% include disqus.html %}
</div>
{% include footer.html %}