diff --git a/_includes/header.html b/_includes/header.html index 3f1cb53..7ff20c0 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -11,6 +11,10 @@ + {% if page.description %} + + {% endif %} + diff --git a/_layouts/post.html b/_layouts/post.html index fc2ed9c..bbd2738 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,11 +1,14 @@ {% include header.html %} -
+
- + {% if page.location %} {% endif %} + {% if page.code %} + + {% endif %}
+
+
+ + + comments powered by Disqus +
{% include footer.html %} diff --git a/blog/_posts/2013-01-07-secure-git-repositories.md b/blog/_posts/2013-01-07-secure-git-repositories.md index 94a6077..3c43c0a 100644 --- a/blog/_posts/2013-01-07-secure-git-repositories.md +++ b/blog/_posts/2013-01-07-secure-git-repositories.md @@ -2,6 +2,7 @@ title: Secure Git Repositories layout: post tags: git security +description: Seamless data encryption of repository files. --- I use private repositories on [GitHub][1], but I still don't feel quite comfortable pushing sensitive data like diff --git a/include/icons/code.png b/include/icons/code.png new file mode 100644 index 0000000..1e436c9 Binary files /dev/null and b/include/icons/code.png differ diff --git a/include/site/screen.css b/include/site/screen.css index 97ad6e8..0b7991a 100644 --- a/include/site/screen.css +++ b/include/site/screen.css @@ -145,18 +145,26 @@ article > section .timeline { } section .timeline > * { + display: block; opacity: 0.6; + line-height: 0; + margin-bottom: 4px; } + section.layout-post .timeline > *, section:hover .timeline > * { opacity: 1; } +section.layout-post { + padding-bottom: 12px; +} + .timeline { background-color: #FFFFFF; font-size: 11px; line-height: 0; - padding: 2px 0; + padding-top: 2px; position: absolute; text-align: center; left: -24px; @@ -169,9 +177,7 @@ section .timeline > * { } .timeline time { - display: block; line-height: 11px; - margin-bottom: 2px; } pre { @@ -217,7 +223,17 @@ dl dd { .meta-social { border-top: #F0F0F0 solid 1px; - margin-left: -6px; - margin-right: -6px; + margin-left: -8px; + margin-right: -8px; padding: 32px 6px 0; } + +.disqus { + border-top: #F0F0F0 solid 1px; + margin: 28px -8px 0; + padding: 27px 8px 0; +} + +section.layout-post .meta.meta-social { + display: none; +} diff --git a/index.html b/index.html index f02307c..13e898a 100644 --- a/index.html +++ b/index.html @@ -18,8 +18,8 @@ layout: default

{{ post.title }}

- {% if post.tags|size %} -
{% for tag in post.tags %}{% if forloop.index0 > 0 %} · {% endif %}{{ tag }}{% endfor %}
+ {% if post.description %} +
{{ post.description }}
{% endif %}