logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 41383c618e552112c06edb1f1ee8ef2bf74f8d7c
parent 75bfd3de56ddf061858ffeffb46371d80c24f95b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 20 Dec 2022 20:01:02 +0100

bookmarks: Add link count

Diffstat:

Mbookmarks.shtml5++++-
Mbookmarks.xsl5++++-
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/bookmarks.shtml b/bookmarks.shtml @@ -8,7 +8,10 @@ <!--#include file="/templates/en/nav.shtml" --> <main> <h1>Bookmarks</h1> - <p>This is generated from <a href="/bookmarks.xbel">/bookmarks.xbel</a>, a standard-compliant <a href="http://pyxml.sourceforge.net/topics/xbel/">XBEL</a> file, which you can process and import in some browsers. (XSLT file used for it: <a href="/bookmarks.xsl">/bookmarks.xsl</a>)</p> + <p> + This is generated from <a href="/bookmarks.xbel">/bookmarks.xbel</a>, a standard-compliant <a href="http://pyxml.sourceforge.net/topics/xbel/">XBEL</a> file, which you can process and import in some browsers. (XSLT file used for it: <a href="/bookmarks.xsl">/bookmarks.xsl</a>).<br/> + It currently contains 219 links. + </p> <section id="Autism"> <h2>Autism <a href="#Autism">§</a></h2> <dl> diff --git a/bookmarks.xsl b/bookmarks.xsl @@ -11,7 +11,10 @@ <xsl:comment>#include file="/templates/en/nav.shtml" </xsl:comment> <main> <h1>Bookmarks</h1> - <p>This is generated from <a href="/bookmarks.xbel">/bookmarks.xbel</a>, a standard-compliant <a href="http://pyxml.sourceforge.net/topics/xbel/">XBEL</a> file, which you can process and import in some browsers. (XSLT file used for it: <a href="/bookmarks.xsl">/bookmarks.xsl</a>)</p><xsl:apply-templates select="/xbel/folder"/> + <p> + This is generated from <a href="/bookmarks.xbel">/bookmarks.xbel</a>, a standard-compliant <a href="http://pyxml.sourceforge.net/topics/xbel/">XBEL</a> file, which you can process and import in some browsers. (XSLT file used for it: <a href="/bookmarks.xsl">/bookmarks.xsl</a>).<br /> + It currently contains <xsl:number value="count(//bookmark)"/> links. + </p><xsl:apply-templates select="/xbel/folder"/> <section id="Misc"> <h2>Misc <a href="#Misc">§</a></h2> <dl><xsl:apply-templates select="/xbel/bookmark"/>