logo

blog

Unnamed repository; edit this file 'description' to name the repository.
commit 7defc819bbc04f3fefaf8ee49d8bf2377d6201e4
parent 4c74276fc76cf5ea7e56749f3217d23a2614d0de
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:
notes/gitlab.shtml | 2+-
notes/osu!.shtml | 2+-
templates/en/nav.shtml | 2+-
templates/fr/nav.shtml | 2+-
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>