diff options
author | Ailin Nemui <ailin@linux.site> | 2015-06-14 23:04:52 +0200 |
---|---|---|
committer | Ailin Nemui <ailin@linux.localdomain> | 2015-07-01 22:42:55 +0200 |
commit | aeefab4eb333d47d9d0af936e9e3f59cf86815e1 (patch) | |
tree | 993b072fc34e9449e1caac6d0e763cf5dde92a9e /_layouts | |
parent | 2c5262dcacc95f80f8c4736e1210ced4b609063e (diff) | |
download | irssi.github.io-aeefab4eb333d47d9d0af936e9e3f59cf86815e1.zip |
irssi-import
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 20 | ||||
-rw-r--r-- | _layouts/home.html | 5 | ||||
-rw-r--r-- | _layouts/page.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 2 |
4 files changed, 25 insertions, 4 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 887ef16..3a0c21e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -17,6 +17,26 @@ client Irssi, for more information see the about section. </p> + <h4 style='margin-bottom:0'>Search this site</h4> + <div><script> + (function() { + var cx = '013138746835038969445:mlfkigveyj4'; + var gcse = document.createElement('script'); + gcse.type = 'text/javascript'; + gcse.async = true; + gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + + '//cse.google.com/cse.js?cx=' + cx; + var s = document.getElementsByTagName('script')[0]; + s.parentNode.insertBefore(gcse, s); + })(); +</script> +<gcse:searchbox-only></gcse:searchbox-only></div> + <h4>What's new?</h4> + <p><a href="/2014/10/11/irssi-0.8.17-released">Irssi 0.8.17 has been released!</a></p> + {% if page.title contains 'News' %}<div> + <a class="twitter-timeline" data-widget-id="600720083413962752" href="https://twitter.com/IrssiProject" data-screen-name="IrssiProject" height="400">Tweets by @IrssiProject</a> + <script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> + </div>{% endif %} </div> </div> </div> diff --git a/_layouts/home.html b/_layouts/home.html index c325bfb..e135f91 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,13 +1,14 @@ --- layout: default --- - <h1>News{% if paginator.page > 1 %} Archive{% endif %}</h1> {% for post in paginator.posts %} <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2> {% include postmeta.html node=post %} - {{ post.content | markdownify }} + {{ post.content }} {% endfor %} +{% unless paginator.page > 1 %}<a href="//github.com/irssi-import/irssi-import.github.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>{% endunless %} + {% include paginate.html %} diff --git a/_layouts/page.html b/_layouts/page.html index ac875a1..4d41ccc 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -3,4 +3,4 @@ layout: default --- <h1>{{ page.title }}</h1> -{{ page.content | markdownify }} +{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index 8e1bfd0..7add29a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,4 +4,4 @@ layout: default <h1>{{ page.title }}</h1> {% include postmeta.html node=page %} -{{ page.content | markdownify }} +{{ content }} |