commit: db5ff9c5764a29344c4c774912721008b2ca1cc0
parent f36abf95c052dea81b19c821204f97707696aca2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 20 Dec 2022 20:01:02 +0100
bookmarks: Add link count
Diffstat:
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"/>