logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 1009b5c4d5d4a60bbd011205a1d704630ebfd386
parent 2319f7675949dc77ec9da692ff2f1f4bacc3a765
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 24 Jul 2016 04:09:58 +0200

Have nice feeds using gitlab
@TODO: Try to use ikiwiki-like syntax

Diffstat:

Mnotes/gitlab.shtml2+-
Mnotes/osu!.shtml2+-
Mtemplates/en/nav.shtml2+-
Mtemplates/fr/nav.shtml2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/notes/gitlab.shtml b/notes/gitlab.shtml @@ -5,7 +5,7 @@ <title>Gitlab — lanodan’s cyber-home</title> </head> <body> -<!--#include file="/templates/en/nav.shtml" --> +<!--#set var="feedUrl" value='http://gitlab.com/lanodan/blog/commits/master.atom?utf8=%E2%9C%93&search=notes%2F' --><!--#include file="/templates/en/nav.shtml" --> <main> <p>To have RSS feeds on commits just put .atom after the branch name.</p> <p>In example: <a href="https://gitlab.com/lanodan/blog/commits/master?utf8=%E2%9C%93&search=notes%2F">original</a> search for commit about notes and <a href="https://gitlab.com/lanodan/blog/commits/master.atom?utf8=%E2%9C%93&search=notes%2F">result</a></p> diff --git a/notes/osu!.shtml b/notes/osu!.shtml @@ -5,7 +5,7 @@ <title>osu! — lanodan’s cyber-home</title> </head> <body> -<!--#include file="/templates/en/nav.shtml" --> +<!--#set var="feedUrl" value='http://gitlab.com/lanodan/blog/commits/master.atom?utf8=%E2%9C%93&search=notes%2F' --><!--#include file="/templates/en/nav.shtml" --> <main> <ul> <li>Espionage: <a href="https://osu.ppy.sh/forum/p/2577747">osu! forum</a>, <a href="https://gitlab.com/Espionage724/Linux/blob/master/Wine/osu.txt">notes</a> diff --git a/templates/en/nav.shtml b/templates/en/nav.shtml @@ -21,7 +21,7 @@ <li><a href="/notes">Notes</a></li> </ul><ul class="right"> <!--#if expr="${transPageUrl}" --> <li><a href="<!--#echo var="transPageUrl" -->">Français</a></li><!--#endif --> - <li><a href="/rss">RSS feed</a></li> +<!--#if expr="${feedUrl}" --> <li><a href="<!--#echo var="feedUrl" -->">RSS/Atom feed</a></li><!--#endif --> <li><a href="//gitlab.com/lanodan/blog/">Gitlab</a></li> </ul> </nav> diff --git a/templates/fr/nav.shtml b/templates/fr/nav.shtml @@ -20,7 +20,7 @@ <li><a href="/notes">Notes</a></li> </ul><ul class="right"> <!--#if expr="${transPageUrl}" --> <li><a href="<!--#echo var="transPageUrl" -->">English</a></li><!--#endif --> - <li><a href="/flux">flux RSS</a></li> +<!--#if expr="${feedUrl}" --> <li><a href="<!--#echo var="feedUrl" -->">Flux RSS/Atom</a></li><!--#endif --> <li><a href="//gitlab.com/lanodan/blog/">Gitlab</a></li> </ul> </nav>