The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Continue redesign

sqla-i18n-post
Gergely Polonkai 7 years ago
parent eecf7bffec
commit 7a4be1de74
  1. 29
      _includes/blog-post-list.html
  2. 48
      _includes/blog-post.html
  3. 6
      _includes/head.html
  4. 30
      _includes/header.html
  5. 6
      _includes/pagination.html
  6. 9
      _includes/post-list.html
  7. 1
      _includes/tag-link.html
  8. 2
      _layouts/default.html
  9. 7
      _layouts/page.html
  10. 38
      _layouts/post.html
  11. 8
      _layouts/posts-by-tag.html
  12. 6
      _make_tags.sh
  13. 24
      blog/index.html
  14. 2
      blog/tag/active-directory.html
  15. 2
      blog/tag/apache.html
  16. 2
      blog/tag/astrology.html
  17. 2
      blog/tag/c.html
  18. 2
      blog/tag/citrix-xenserver.html
  19. 2
      blog/tag/command-line.html
  20. 2
      blog/tag/conference.html
  21. 2
      blog/tag/debian.html
  22. 2
      blog/tag/development.html
  23. 2
      blog/tag/django.html
  24. 2
      blog/tag/emacs.html
  25. 2
      blog/tag/fedora.html
  26. 2
      blog/tag/gentoo.html
  27. 2
      blog/tag/git.html
  28. 2
      blog/tag/glib.html
  29. 2
      blog/tag/gnome3.html
  30. 2
      blog/tag/heartbeat-cluster.html
  31. 2
      blog/tag/kerberos.html
  32. 2
      blog/tag/linux.html
  33. 2
      blog/tag/monitoring.html
  34. 2
      blog/tag/mysql.html
  35. 2
      blog/tag/oracle.html
  36. 2
      blog/tag/otrs.html
  37. 2
      blog/tag/php.html
  38. 2
      blog/tag/ranting.html
  39. 2
      blog/tag/red-hat.html
  40. 2
      blog/tag/selinux.html
  41. 2
      blog/tag/ssh.html
  42. 2
      blog/tag/symfony.html
  43. 2
      blog/tag/technology.html
  44. 2
      blog/tag/testing.html
  45. 2
      blog/tag/windows.html
  46. 2
      blog/tag/wordpress.html
  47. 2
      blog/tag/zabbix.html
  48. 2
      disclaimer/index.md
  49. 18
      feed.xml
  50. 10
      index.html

@ -1,29 +0,0 @@
<article class="col-sm-5 col-md-6 blog_post">
<ul class="list-inline">
<li class="col-md-8">
<header>
<h4><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h4>
<div class="pull-left">
<span>Posted by : <a class="link_orange" href="mailto:{{post.author.email}}"><span class="txt_orange">{{post.author.name}}</span></a></span>
</div>
<div class="pull-right">
<span class="post-date">{{post.date | date: "%b %-d, %Y"}}</span>
<span class="post-time">{{post.date | date: "%H:%M" }}</span>
</div>
</header>
<div class="clearfix"> </div>
<p class="blog_text">{{post.excerpt}}</p>
<footer>
<p class="article-tags">
Tags:
{% for tag in post.tags %}
<span class="blog-tag"><a href="{{tag | prepend: '/blog/tag/' | prepend: site.baseurl}}">{{ tag }}</a></span>
{% endfor %}
</p>
</footer>
<li>
</ul>
</article>
{% if counter == 'even' %}
<div class="clearfix"></div>
{% endif %}

@ -0,0 +1,48 @@
<article class="{% if page.post_listing %}col-sm-5 col-md-6 {% endif%}post">
{% if page.post_listing %}
<ul class="list-inline">
<li class="col-md-8">
{% endif %}
<header class="post-header">
<h3>
{% if page.post_listing %}
<a href="{{post.url | prepend: site.baseurl}}">
{% endif %}
{{post.title}}
{% if page.post_listing %}
</a>
{% endif %}
{% if page.render_post %}
<div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div>
{% endif %}
</h3>
<div class="pull-left">
Posted by : {{post.author.name}}
</div>
<div class="pull-right">
{{post.date | date: "%b %-d, %Y :: %H:%M"}}
</div>
<div class="clearfix"></div>
</header>
<main>
{% if page.render_post %}
{{content}}
{% else %}
{{post.excerpt}}
{% endif %}
</main>
<footer>
<p class="article-tags">
Tags:
{% for tag in post.tags %}
{% include tag-link.html %}
{% endfor %}
</p>
</footer>
{% if page.post_listing %}
</li>
</ul>
{% endif %}
</article>

@ -1,10 +1,10 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="{{ page.keywords }}">
<meta name="keywords" content="{{page.keywords}}">
<meta name="description" content="Personal page of Gergely Polonkai">
<title>Gergely Polonkai{% if page.title %}: {{ page.title }}{% endif %}</title>
<title>Gergely Polonkai{% if page.title %}: {{page.title}}{% endif %}</title>
<link rel="icon" type="image/x-icon" href="{{site_url}}/favicon.ico">
<link rel="icon" type="image/x-icon" href="{{'/favicon.ico' | prepend: site.baseurl}}">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="Gergely Polonkai's Blog - RSS Feed" href="{{site.url}}/blog/atom.xml">

@ -6,29 +6,29 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{site_url}}/"><img src="{{site.baseurl}}/images/profile.svg" alt="Gergely Polonkai" style="background-color: white; height: 45px; margin-top: -13px;"></a>
<a class="navbar-brand" href="{{'/' | prepend: site.baseurl}}"><img src="{{'/images/profile.svg' | prepend: site.baseurl}}" alt="Gergely Polonkai" style="background-color: white; height: 45px; margin-top: -13px;"></a>
</div>
<div class="collapse navbar-collapse" id="gp-navbar">
<ul class="nav navbar-nav">
<li><a href="{{site_url}}/about">About me</a></li>
<li><a href="{{site_url}}/blog">Blog</a></li>
<li><a href="{{site_url}}/resume">Resume</a></li>
<li><a href="{{'/about' | prepend: site.baseurl}}">About me</a></li>
<li><a href="{{'/blog' | prepend: site.baseurl}}">Blog</a></li>
<li><a href="{{'/resume' | prepend: site.baseurl}}">Resume</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="{{site_url}}/disclaimer">Disclaimer</a></li>
<li><a href="{{'/disclaimer' | prepend: site.baseurl}}">Disclaimer</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-pencil"></span> Contact me <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="mailto:gergely@polonkai.eu" target="_blank"><img src="{{site_url}}/images/email_16.png" alt="" /> E-mail</a></li>
<li><a href="http://www.linkedin.com/in/gergelypolonkai" target="_blank"><img src="{{site_url}}/images/linkedin_16.png" alt="" /> LinkedIn</a></li>
<li><a href="skype:gergely.polonkai" target="_blank"><img src="{{site_url}}/images/skype_16.png" alt="" /> Skype</a></li>
<li><a href="http://facebook.com/Polesz" target="_blank"><img src="{{site_url}}/images/facebook_16.png" alt="" /> Facebook</a></li>
<li><a href="https://plus.google.com/+GergelyPolonkai/about" target="_blank"><img src="{{site_url}}/images/google_plus_16.png" alt="" /> Google+</a></li>
<li><a href="gtalk:chat?jid=gergely@polonkai.eu" target="_blank"><img src="{{site_url}}/images/googletalk_16.png" alt="" /> Hangouts</a></li>
<li><a href="http://twitter.com/GergelyPolonkai" target="_blank"><img src="{{site_url}}/images/twitter_16.png" alt="" /> Twitter</a></li>
<li><a href="http://gergelypolonkai.tumblr.com" target="_blank"><img src="{{site_url}}/images/tumblr_16.png" alt="" /> Tumblr</a></li>
<li><a href="http://gergelypolonkai.deviantart.com" target="_blank"><img src="{{site_url}}/images/deviantart_16.png" alt="" /> deviantArt</a></li>
<li><a href="{{site_url}}/blog/atom.xml"><img src="{{site_url}}/images/rss_16.png" alt="" /> RSS Feed</a></li>
<li><a href="mailto:gergely@polonkai.eu" target="_blank"><img src="{{'/images/email_16.png' | prepend: site.baseurl}}" alt="" /> E-mail</a></li>
<li><a href="http://www.linkedin.com/in/gergelypolonkai" target="_blank"><img src="{{'/images/linkedin_16.png' | prepend: site.baseurl}}" alt="" /> LinkedIn</a></li>
<li><a href="skype:gergely.polonkai" target="_blank"><img src="{{'/images/skype_16.png' | prepend: site.baseurl}}" alt="" /> Skype</a></li>
<li><a href="http://facebook.com/Polesz" target="_blank"><img src="{{'/images/facebook_16.png' | prepend: site.baseurl}}" alt="" /> Facebook</a></li>
<li><a href="https://plus.google.com/+GergelyPolonkai/about" target="_blank"><img src="{{'/images/google_plus_16.png' | prepend: site.baseurl}}" alt="" /> Google+</a></li>
<li><a href="gtalk:chat?jid=gergely@polonkai.eu" target="_blank"><img src="{{'/images/googletalk_16.png' | prepend: site.baseurl}}" alt="" /> Hangouts</a></li>
<li><a href="http://twitter.com/GergelyPolonkai" target="_blank"><img src="{{'/images/twitter_16.png' | prepend: site.baseurl}}" alt="" /> Twitter</a></li>
<li><a href="http://gergelypolonkai.tumblr.com" target="_blank"><img src="{{'/images/tumblr_16.png' | prepend: site.baseurl}}" alt="" /> Tumblr</a></li>
<li><a href="http://gergelypolonkai.deviantart.com" target="_blank"><img src="{{'/images/deviantart_16.png' | prepend: site.baseurl}}" alt="" /> deviantArt</a></li>
<li><a href="{{'/blog/atom.xml' | prepend: site.baseurl}}"><img src="{{'/images/rss_16.png' | prepend: site.baseurl}}" alt="" /> RSS Feed</a></li>
</ul>
</li>
</ul>

@ -1,15 +1,15 @@
<nav>
<ul class="pagination">
<li{% if paginator.previous_page == null %} class="disabled"{% endif %}>
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Previous page">
<a href="{{paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/'}}" aria-label="Previous page">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
{% for page in (1...paginator.total_pages) %}
<li{% if paginator.page == page %} class="active"{% endif %}><a href="{% if page == 1 %}{{ '/blog' | prepend: site.baseurl }}{% else %}{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}{% endif %}">{{ page }}</a></li>
<li{% if paginator.page == page %} class="active"{% endif %}><a href="{% if page == 1 %}{{'/blog' | prepend: site.baseurl}}{% else %}{{site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page}}{% endif %}">{{page}}</a></li>
{% endfor %}
<li{% if paginator.next_page == null %} class="disabled"{% endif %}>
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Next page">
<a href="{{paginator.next_page_path | prepend: site.baseurl | replace: '//', '/'}}" aria-label="Next page">
<span aria-hidden="true">&raquo;</span>
</a>
</li>

@ -0,0 +1,9 @@
<div class="container-fluid">
{% for post in posts limit: post_limit %}
{% capture counter %}{% cycle 'odd', 'even' %}{% endcapture %}
{% include blog-post.html %}
{% if counter == 'even' %}
<div class="clearfix"></div>
{% endif %}
{% endfor %}
</div>

@ -0,0 +1 @@
<a href="{{tag | prepend: '/blog/tag/' | prepend: site.baseurl}}" class="label label-default">{{tag}}</a>

@ -11,7 +11,7 @@
{% if page.name != 'about.html' %}
<div class="well well-sm small">
<div class="pull-left"><img src="{{'/images/profile.png' | prepend: site.baseurl}}" alt=""></div>
<div class="pull-left" id="about-well-image"><img src="{{'/images/profile.png' | prepend: site.baseurl}}" alt=""></div>
{% include about.html %}
<div class="clearfix"></div>
</div>

@ -3,12 +3,13 @@ layout: default
---
<div class="post">
<header class="post-header">
<h2>{{ page.title }}</h2>
<header class="post-header">
<h2>{{page.title}}</h2>
<div class="clearfix"></div>
</header>
<article class="post-content">
{{ content }}
{{content}}
</article>
</div>

@ -1,36 +1,20 @@
---
layout: default
render_post: true
---
<div class="post">
<header class="post-header">
<h3>{{ page.title }} <div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div></h3>
<p class="meta">{{ page.date | date: "%b %-d, %Y :: %H:%M" }}{% if page.author %} • {{ page.author.name }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
{% assign post = page %}
{% include blog-post.html %}
<div class="g-plus" data-action="share" data-height="15"></div>
<article class="post-content">
{{ content }}
</article>
<footer>
<p class="article-tags">
Tags:
{% for tag in page.tags %}
<a href="{{tag | prepend: '/blog/tag/' | prepend: site.baseurl}}" class="label label-default">{{ tag }}</a>
{% endfor %}
</p>
<div class="g-plus" data-action="share" data-height="15"></div>
<nav>
<ul class="pager">
<nav>
<ul class="pager">
{% if page.previous %}
<li><a href="{{page.previous.url | prepend: site.baseurl}}">&larr; {{page.previous.title}}</a></li>
<li><a href="{{page.previous.url | prepend: site.baseurl}}">&larr; {{page.previous.title}}</a></li>
{% endif %}
{% if page.next %}
<li><a href="{{page.next.url | prepend: site.baseurl}}">{{page.next.title}} &rarr;</a></li>
<li><a href="{{page.next.url | prepend: site.baseurl}}">{{page.next.title}} &rarr;</a></li>
{% endif %}
</ul>
</nav>
</footer>
</ul>
</nav>
{% include disqus.html %}
</div>
{% include disqus.html %}

@ -1,13 +1,13 @@
---
layout: default
post_listing: true
---
{{content}}
<h3>Articles under this tag</h3>
{% if site.tags[page.tag] %}
{% for post in site.tags[page.tag] %}
{% include blog-post-list.html %}
{% endfor %}
<div class="clearfix"></div>
{% assign posts = site.tags[page.tag] %}
{% include post-list.html %}
{% else %}
No posts with this tag.
{% endif %}

@ -5,6 +5,8 @@
# or layout: keywords, the script will include them in the front
# matter.
layout="posts-by-tag"
for tag in `grep -h ^tags: _posts/* | sed -e 's/^tags: \[//' -e 's/\]$//' -e 's/, /\n/g' | sort | uniq`
do
tag_file="blog/tag/${tag}.html"
@ -13,7 +15,7 @@ do
then
cat <<EOF > $tag_file
---
layout: posts_by_tag
layout: $layout
tag: $tag
---
EOF
@ -25,7 +27,7 @@ EOF
if ! grep "^layout: " $tag_file &> /dev/null
then
sed -i "0,/---/! s/---/layout: posts_by_tag\\n---/" $tag_file
sed -i "0,/---/! s/---/layout: $layout\\n---/" $tag_file
fi
fi
done

@ -1,26 +1,12 @@
---
layout: page
title: Blog
title: Blog posts
post_listing: true
---
{% include pagination.html %}
{% for post in paginator.posts %}
<article class="post">
<header>
<h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<p class="article-date">{{ post.date | date: "%b %-d, %Y" }} :: {{ post.date | date: "%H:%M" }} by {{ site.name }}</p>
</header>
{{ post.excerpt }}
<footer>
<p class="article-tags">
Tags:
{% for tag in post.tags %}
{{ tag }}
{% endfor%}
</p>
</footer>
</article>
{% endfor %}
{% assign posts = paginator.posts %}
{% include post-list.html %}
{% include pagination.html %}

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: active-directory
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: apache
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: astrology
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: c
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: citrix-xenserver
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: command-line
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: conference
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: debian
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: development
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: django
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: emacs
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: fedora
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: gentoo
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: git
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: glib
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: gnome3
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: heartbeat-cluster
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: kerberos
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: linux
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: monitoring
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: mysql
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: oracle
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: otrs
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: php
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: ranting
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: red-hat
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: selinux
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: ssh
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: symfony
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: technology
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: testing
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: windows
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: wordpress
---

@ -1,4 +1,4 @@
---
layout: posts_by_tag
layout: posts-by-tag
tag: zabbix
---

@ -13,7 +13,7 @@ you use anything, please put a backlink on your site to the given
article(s) or the main page.
The social media icons in the contact menu are from
[![komodomedia.com]({{site_url}}/images/komodomedia_azure_16.png)
[![komodomedia.com]({{'/images/komodomedia_azure_16.png' | prepend: site.baseurl}})
komodomedia.com](http://komodomedia.com).
Some design ideas, like the arrows under the menu items are from a

@ -3,17 +3,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" />
<title>{{site.title | xml_escape}}</title>
<description>{{site.description | xml_escape}}</description>
<link>{{site.url}}{{site.baseurl}}/</link>
<atom:link href="{{'/feed.xml' | prepend: site.baseurl | prepend: site.url}}" rel="self" type="application/rss+xml" />
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
<title>{{post.title | xml_escape}}</title>
<description>{{post.content | xml_escape}}</description>
<pubDate>{{post.date | date: "%a, %d %b %Y %H:%M:%S %z"}}</pubDate>
<link>{{post.url | prepend: site.baseurl | prepend: site.url}}</link>
<guid isPermaLink="true">{{post.url | prepend: site.baseurl | prepend: site.url}}</guid>
</item>
{% endfor %}
</channel>

@ -1,6 +1,7 @@
---
layout: default
title: Gergely Polonkai
post_listing: true
---
<div class="container">
<div class="row">
@ -10,9 +11,6 @@ title: Gergely Polonkai
</div>
</div>
<div class="container-fluid">
{% for post in site.posts limit: 6 %}
{% capture counter %}{% cycle 'odd', 'even' %}{% endcapture %}
{% include blog-post-list.html %}
{% endfor %}
</div>
{% assign posts = site.posts %}
{% assign post_limit = 6 %}
{% include post-list.html %}

Loading…
Cancel
Save