Fix output blockquote HTML ; Added blockquotes doc page
This commit is contained in:
parent
5a14ea4e35
commit
522562551f
|
@ -33,7 +33,7 @@
|
||||||
<meta property="og:image" content="https://tyto.echolib.re/template/VH_Tyto_logo.png">
|
<meta property="og:image" content="https://tyto.echolib.re/template/VH_Tyto_logo.png">
|
||||||
|
|
||||||
<!-- Publication date and title -->
|
<!-- Publication date and title -->
|
||||||
<meta itemprop="datePublished" content="2024-02-29 11:02:14" id="date">
|
<meta itemprop="datePublished" content="2024-02-29 11:58:36" id="date">
|
||||||
<title>Afficher des citations (echolib) | Tyto - Littérateur</title>
|
<title>Afficher des citations (echolib) | Tyto - Littérateur</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
<main id="article_sidebar"> <!-- Contains <article> and <aside> -->
|
<main id="article_sidebar"> <!-- Contains <article> and <aside> -->
|
||||||
|
|
||||||
<article id="article">
|
<article id="article">
|
||||||
<time datetime="2024-02-29 11:02:14">
|
<time datetime="2024-02-29 11:58:36">
|
||||||
<header id="article_header">
|
<header id="article_header">
|
||||||
|
|
||||||
<h1 role="heading" aria-level="1" id="article_title">
|
<h1 role="heading" aria-level="1" id="article_title">
|
||||||
|
@ -107,7 +107,7 @@ entourer le texte cité.
|
||||||
<li role="listitem" class="bcode_item"><code class="bcode_code">)"</code></li>
|
<li role="listitem" class="bcode_item"><code class="bcode_code">)"</code></li>
|
||||||
</ol></pre>
|
</ol></pre>
|
||||||
<h4 role="heading" aria-level="4" id="toc_3" class="tyto">Rendu de la citation</h4>
|
<h4 role="heading" aria-level="4" id="toc_3" class="tyto">Rendu de la citation</h4>
|
||||||
<blockquote class="tyto" cite="https://stallman.org/" lang="en" title="- Richard Matthew Stallman, Free Software, Free Society : Selected Essays of Richard M. Stallman, 2009">
|
<blockquote class="tyto" cite="https://stallman.org/" lang="en" title="- Richard Matthew Stallman - Free Software, Free Society : Selected Essays of Richard M. Stallman (2009)">
|
||||||
<time datetime="2009">
|
<time datetime="2009">
|
||||||
<p class="tyto">
|
<p class="tyto">
|
||||||
In the free/libre software movement, we develop software that respects
|
In the free/libre software movement, we develop software that respects
|
||||||
|
@ -119,7 +119,7 @@ the world a worse place
|
||||||
</p>
|
</p>
|
||||||
</time>
|
</time>
|
||||||
<footer class="tyto">
|
<footer class="tyto">
|
||||||
<a class="tyto" href="https://stallman.org/" title="- Richard Matthew Stallman, Free Software, Free Society : Selected Essays of Richard M. Stallman, 2009">Richard Matthew Stallman, </a>
|
<a class="tyto" href="https://stallman.org/" title="- Richard Matthew Stallman - Free Software, Free Society : Selected Essays of Richard M. Stallman (2009)">Richard Matthew Stallman</a>
|
||||||
</footer></blockquote>
|
</footer></blockquote>
|
||||||
</time>
|
</time>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- #==========================================# -->
|
<!-- #==========================================# -->
|
||||||
<!-- # RSS/Feed generated by Tyto - Littérateur # -->
|
<!-- # RSS/Feed generated by Tyto - Littérateur # -->
|
||||||
<!-- #==========================================# -->
|
<!-- #==========================================# -->
|
||||||
<!-- Creation date: Thu, 29 Feb 2024 11:02:14 -->
|
<!-- Creation date: Thu, 29 Feb 2024 11:58:36 -->
|
||||||
<!-- Feed URL: https://tyto.echolib.re/rss.xmlrss.xml -->
|
<!-- Feed URL: https://tyto.echolib.re/rss.xmlrss.xml -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
</image>
|
</image>
|
||||||
<language>fr</language>
|
<language>fr</language>
|
||||||
<category>Tyto,littérateur,logiciel libre,documentation</category>
|
<category>Tyto,littérateur,logiciel libre,documentation</category>
|
||||||
<lastBuildDate>Thu, 29 Feb 2024 11:02:14</lastBuildDate>
|
<lastBuildDate>Thu, 29 Feb 2024 11:58:36</lastBuildDate>
|
||||||
<copyright>gfdl-1.3</copyright>
|
<copyright>gfdl-1.3</copyright>
|
||||||
<webMaster>echolib+tyto@a-lec.org</webMaster>
|
<webMaster>echolib+tyto@a-lec.org</webMaster>
|
||||||
<generator>Tyto - Littérateur</generator>
|
<generator>Tyto - Littérateur</generator>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<meta property="og:image" content="https://tyto.echolib.re/template/VH_Tyto_logo.png">
|
<meta property="og:image" content="https://tyto.echolib.re/template/VH_Tyto_logo.png">
|
||||||
|
|
||||||
<!-- Publication date and title -->
|
<!-- Publication date and title -->
|
||||||
<meta itemprop="datePublished" content="2024-02-29 11:02:14" id="date">
|
<meta itemprop="datePublished" content="2024-02-29 11:58:36" id="date">
|
||||||
<title>Plan du site (Tyto) | Tyto - Littérateur</title>
|
<title>Plan du site (Tyto) | Tyto - Littérateur</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
<main id="article_sidebar"> <!-- Contains <article> and <aside> -->
|
<main id="article_sidebar"> <!-- Contains <article> and <aside> -->
|
||||||
|
|
||||||
<article id="article">
|
<article id="article">
|
||||||
<time datetime="2024-02-29 11:02:14">
|
<time datetime="2024-02-29 11:58:36">
|
||||||
<header id="article_header">
|
<header id="article_header">
|
||||||
|
|
||||||
<h1 role="heading" aria-level="1" id="article_title">
|
<h1 role="heading" aria-level="1" id="article_title">
|
||||||
|
|
|
@ -534,17 +534,18 @@ def bquotes():
|
||||||
# Create HTML block quote
|
# Create HTML block quote
|
||||||
|
|
||||||
# time/date set
|
# time/date set
|
||||||
date = html_time_o = html_time_c = ""
|
date = show_date = html_time_o = html_time_c = ""
|
||||||
if params["date:"]:
|
if params["date:"]:
|
||||||
date = params["date:"]
|
date = params["date:"]
|
||||||
|
show_date = "(%s)"%date
|
||||||
html_time_o = '\n<time datetime="%s">'%date
|
html_time_o = '\n<time datetime="%s">'%date
|
||||||
html_time_c = "\n</time>"
|
html_time_c = "\n</time>"
|
||||||
|
|
||||||
# Simple references: "author,book,date"
|
# Simple references: "author,book,date"
|
||||||
cite = book = refs = ""
|
cite = book = refs = ""
|
||||||
if params["cite:"] : cite = "%s, "%params["cite:"]
|
if params["cite:"] : cite = "%s"%params["cite:"]
|
||||||
if params["book:"] : book = "%s, "%params["book:"]
|
if params["book:"] : book = "- %s"%params["book:"]
|
||||||
if cite or book or date: refs = '- %s%s%s'%(cite, book, date)
|
if cite or book or date: refs = '- %s %s %s'%(cite, book, show_date)
|
||||||
|
|
||||||
# <blockquote> line
|
# <blockquote> line
|
||||||
bq_cite = bq_lang = bq_title = ""
|
bq_cite = bq_lang = bq_title = ""
|
||||||
|
|
Loading…
Reference in New Issue