Added tutorial material

This commit is contained in:
Panos Sakkos 2015-09-30 22:40:33 +02:00
parent b006ce74e6
commit d54736f864
60 changed files with 438 additions and 563 deletions

View file

@ -14,27 +14,11 @@
{{ page.content | markdownify }}
{% for post in paginator.posts %}
<h4 align="left"><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{ post.url }}"> <strong>{{ post.title }} </strong> </a> <small><a href="{{ post.url }}#disqus_thread">Comments</a></small></h4>
<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 %}
<!-- Pagination links -->
<div class="pagination">
{% include pagination.html %}
{% if paginator.previous_page and paginator.next_page%}
<h4>
<a href="{{ paginator.previous_page_path }}" class="previous">Newer Posts</a> <a href="{{ paginator.next_page_path }}" class="next">Older Posts</a>
</h4>
{% endif %}
{% if paginator.previous_page %}
<h4><a href="{{ paginator.previous_page_path }}" class="previous">Newer Posts</a></h4>
{% endif %}
{% if paginator.next_page %}
<h4><a href="{{ paginator.next_page_path }}" class="next">Older Posts</a></h4>
{% endif %}
</div>
</div>
</div>
</section>
@ -42,7 +26,7 @@
<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 %}
{% include social-buttons.html %}
</div>
</div>
</section>

View file

@ -13,19 +13,19 @@
<h1><strong>{{ page.title }}</strong></h1>
{{ page.content | markdownify }}
{{ page.content | markdownify }}
<img class="img-responsive center-block" src="{{ 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>
</section>
{% include footer.html %}
{% include js.html %}
</body>
</html>

View file

@ -12,17 +12,17 @@
<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="{{ page.url }}#disqus_thread">Comments</a>
<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="/tags/{{ tag }}.html">#{{ tag }}</a>
<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 %}
@ -33,7 +33,7 @@
<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 %}
{% include social-buttons.html %}
</div>
</div>
</section>

View file

@ -14,13 +14,16 @@
<div id="archives">
<div>
{% assign tag = page.title %}
<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="{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{ site.url }}{{post.url }}#disqus_thread">Comments</a></small></h4>
<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>
@ -30,7 +33,7 @@
<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 %}
{% include social-buttons.html %}
</div>
</div>
</section>