Indentation + more html logs.

This commit is contained in:
Panos Sakkos 2015-10-03 23:23:26 +02:00
parent a0ee116695
commit bddc568b6e
8 changed files with 120 additions and 103 deletions

View file

@ -4,7 +4,7 @@
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{{ page.content | markdownify }}
</div>
</div>
</div>
</section>

View file

@ -10,10 +10,12 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="/js/grayscale.js"></script>
{% if site.google-tracking-id %}
<!-- Google Tracking Id Start -->
<script>
(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),
@ -22,13 +24,18 @@
ga('create', '{{ site.google-tracking-id }}', 'auto');
ga('send', 'pageview');
</script>
<!-- Google Tracking Id End -->
{% endif %}
{% if site.disqus-shortname %}
<!-- Disqus -->
{% if page.section-type == "post" %}
<script type="text/javascript">
var disqus_shortname = '{{ site.disqus-shortname }}';
(function() {
@ -37,10 +44,12 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
{% endif %}
{% if page.section-type == "post" or page.section-type == "blog" or page.section-type == "index" or page.section-type == "tag" %}
<!-- Comments counter -->
<!-- Comments counter Start -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
@ -54,13 +63,16 @@
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- Comments counter End -->
{% endif %}
{% endif %}
{% if page.section-type == "post" %}
<!-- Share buttons -->
<!-- Share buttons Start -->
{% if site.twitter-share %}
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
@ -77,6 +89,8 @@
}(document, 'script', 'facebook-jssdk'));</script>
{% endif %}
<!-- Share buttons End -->
{% endif %}
<!-- Javascript End -->

View file

@ -15,6 +15,7 @@
{% if paginator.next_page %}
<h4><a href="{{site.baseurl}}{{ paginator.next_page_path }}" class="next">Older Posts</a></h4>
{% endif %}
</div>
<!-- Pagination Links End -->

View file

@ -1,26 +1,28 @@
<!-- Share Buttons Start -->
<div>
{% if site.fb-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<div class="fb-share-button" data-href="{{site.url}}{{site.baseurl}}{{page.url}}" data-layout="button_count"></div>
</div>
{% endif %}
{% if site.twitter-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{site.url}}{{ site.baseurl}}{{page.url}}" data-text="{{page.title}} {% for tag in page.tags%}#{{ tag }} {% endfor %}"></a>
</div>
{% endif %}
{% if site.fb-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<div class="fb-share-button" data-href="{{site.url}}{{site.baseurl}}{{page.url}}" data-layout="button_count"></div>
</div>
{% endif %}
{% if site.reddit-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<script type="text/javascript">reddit_newwindow='1'</script>
<script type="text/javascript">reddit_title='{{page.title}}'</script>
<script type="text/javascript">reddit_url='{{site.url}}{{site.baseurl}}{{page.url}}'</script>
<script type="text/javascript" src="//www.redditstatic.com/button/button1.js"></script>
{% if site.twitter-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{site.url}}{{ site.baseurl}}{{page.url}}" data-text="{{page.title}} {% for tag in page.tags%}#{{ tag }} {% endfor %}"></a>
</div>
{% endif %}
{% endif %}
{% if site.reddit-share %}
<div style="float:left; padding: 0 5px; vertical-align:top">
<script type="text/javascript">reddit_newwindow='1'</script>
<script type="text/javascript">reddit_title='{{page.title}}'</script>
<script type="text/javascript">reddit_url='{{site.url}}{{site.baseurl}}{{page.url}}'</script>
<script type="text/javascript" src="//www.redditstatic.com/button/button1.js"></script>
</div>
{% endif %}
</div>
<!-- Share Buttons End -->

View file

@ -7,37 +7,37 @@
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{% include navigation.html %}
{% include navigation.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{{ page.content | markdownify }}
{{ page.content | markdownify }}
{% for post in paginator.posts %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{site.baseurl}}{{post.url}}"> <strong>{{ post.title }} </strong> </a> <small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
{% endfor %}
{% for post in paginator.posts %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{site.baseurl}}{{post.url}}"> <strong>{{ post.title }} </strong> </a> <small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
{% endfor %}
{% include pagination.html %}
{% include pagination.html %}
</div>
</div>
</div>
</section>
</section>
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
</div>
</div>
</div>
</section>
</section>
{% include footer.html %}
{% include footer.html %}
{% include js.html %}
{% include js.html %}
</body>
</body>
</html>
<!-- Blog Layout End -->

View file

@ -7,27 +7,27 @@
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{% include navigation.html %}
{% include navigation.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h1><strong>{{ page.title }}</strong></h1>
<h1><strong>{{ page.title }}</strong></h1>
{{ page.content | markdownify }}
{{ page.content | markdownify }}
<img class="img-responsive center-block" src="{{site.baseurl}}{{ site.404-img }}" alt="">
<img class="img-responsive center-block" src="{{site.baseurl}}{{ site.404-img }}" alt="">
{% include social-buttons.html %}
{% include social-buttons.html %}
</div>
</div>
</div>
</section>
</section>
{% include footer.html %}
{% include footer.html %}
{% include js.html %}
{% include js.html %}
</body>
</html>

View file

@ -7,42 +7,42 @@
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{% include navigation.html %}
{% include navigation.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h1><strong>{{ page.title }}</strong></h1>
<h4><strong>{{ page.date | date_to_string }}</strong>
<small> . {{ page.category }} . <a href="{{site.baseurl}}{{page.url }}#disqus_thread">Comments</a>
{% for tag in page.tags %}
<a href="{{site.baseurl}}/tags/{{tag}}.html">#{{ tag }}</a>
{% endfor %}
</small>
</h4>
<h1><strong>{{ page.title }}</strong></h1>
<h4><strong>{{ page.date | date_to_string }}</strong>
<small> . {{ page.category }} . <a href="{{site.baseurl}}{{page.url }}#disqus_thread">Comments</a>
{% for tag in page.tags %}
<a href="{{site.baseurl}}/tags/{{tag}}.html">#{{ tag }}</a>
{% endfor %}
</small>
</h4>
{{ page.content | markdownify }}
{{ page.content | markdownify }}
{% include share.html %}
{% include share.html %}
{% include comments.html %}
{% include comments.html %}
</div>
</div>
</div>
</section>
</section>
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
</div>
</div>
</div>
</section>
</section>
{% include footer.html %}
{% include footer.html %}
{% include js.html %}
{% include js.html %}
</body>
</html>

View file

@ -7,44 +7,44 @@
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{% include navigation.html %}
{% include navigation.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div id="archives">
<div>
{% assign tag = page.title %}
<div id="archives">
<div>
{% assign tag = page.title %}
<h3 id="#{{ tag }}">#{{ tag }}</h3>
<h3 id="#{{ tag }}">#{{ tag }}</h3>
{% for post in site.posts %}
{% if post.tags contains tag %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{site.baseurl}}{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
{% endif %}
{% endfor %}
{% for post in site.posts %}
{% if post.tags contains tag %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{site.baseurl}}{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small></h4>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
<section id="{{ page.title }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% include social-buttons.html %}
</div>
</div>
</div>
</section>
</section>
{% include footer.html %}
{% include footer.html %}
{% include js.html %}
{% include js.html %}
</body>
</body>
</html>
<!-- Tag Layout End -->