Flex theme.
This commit is contained in:
parent
0bb44cb06f
commit
b35cde0428
30 changed files with 1437 additions and 0 deletions
12
templates/partial/disqus.html
Normal file
12
templates/partial/disqus.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
||||
{% endif %}
|
11
templates/partial/disqus_count.html
Normal file
11
templates/partial/disqus_count.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||
(function () {
|
||||
var s = document.createElement('script'); s.async = true;
|
||||
s.type = 'text/javascript';
|
||||
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
{% endif %}
|
1
templates/partial/flex.html
Normal file
1
templates/partial/flex.html
Normal file
|
@ -0,0 +1 @@
|
|||
<p>Built using <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a></p>
|
11
templates/partial/ga.html
Normal file
11
templates/partial/ga.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if GOOGLE_ANALYTICS %}
|
||||
<script type="text/javascript">
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', '{{ GOOGLE_ANALYTICS }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
{% endif %}
|
11
templates/partial/gtm.html
Normal file
11
templates/partial/gtm.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if GOOGLE_TAG_MANAGER %}
|
||||
<!-- Google Tag Manager -->
|
||||
<noscript><iframe src="//www.googletagmanager.com/ns.html?id={{ GOOGLE_TAG_MANAGER }}"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','{{ GOOGLE_TAG_MANAGER }}');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
{% endif %}
|
20
templates/partial/pagination.html
Normal file
20
templates/partial/pagination.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% if DEFAULT_PAGINATION %}
|
||||
<div class="pagination">
|
||||
{% if articles_page.has_next() %}
|
||||
<a class="btn" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">
|
||||
<i class="fa fa-angle-left"></i> Older Posts
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if articles_page.has_previous() %}
|
||||
{% if articles_page.previous_page_number() == 1 %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}.html">
|
||||
Newer Posts <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">
|
||||
Newer Posts <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
5
templates/partial/statuscake.html
Normal file
5
templates/partial/statuscake.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% if STATUSCAKE %}
|
||||
<a href="https://www.statuscake.com" title="{{ SITENAME }} Uptime">
|
||||
<img src="https://www.statuscake.com/App/button/index.php?Track={{ STATUSCAKE['trackid'] }}&Days={{ STATUSCAKE['days'] }}&Design=6" alt="{{ SITENAME }} Uptime" width="96" height="15"/>
|
||||
</a>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue