Skip to content
Snippets Groups Projects
Commit d3e469d1 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

Changes mailing list generation and fixes display

parent 5e93d30d
No related branches found
No related tags found
1 merge request!130Frama-C discuss old archives
Pipeline #39622 passed
...@@ -9,21 +9,19 @@ css: plugin ...@@ -9,21 +9,19 @@ css: plugin
<div id="container" class="mainContainer"> <div id="container" class="mainContainer">
<div class="pageContent pages"> <div class="pageContent pages">
<div class="wrap"> <h1 class="subTitle">Frama-C-discuss mailing list archives</h1>
<h1 class="subTitle">Frama-C-discuss mailing list archives</h1>
<p class="description"> <p class="description">
This page gathers the archives of the old Frama-C-discuss archives, This page gathers the archives of the old Frama-C-discuss archives,
that was hosted by that was hosted by
<a href="https://www.inria.fr">Inria</a>'s gforge before its demise <a href="https://www.inria.fr">Inria</a>'s gforge before its demise at
at the end of 2020. To search for mails newer than September 2020, the end of 2020. To search for mails newer than September 2020, please
please visit the page of the new mailing list on visit the page of the new mailing list on
<a href="https://groupes.renater.fr/sympa/arc/frama-c-discuss" <a href="https://groupes.renater.fr/sympa/arc/frama-c-discuss"
>Renater</a >Renater</a
>. >.
</p> </p>
<div class="multicol">{{ content }}</div> {{ content }}
</div>
</div> </div>
{% include footer.html %} {% include footer.html %}
<div class="clear"></div> <div class="clear"></div>
......
...@@ -4,9 +4,14 @@ OUTROOT:=.. ...@@ -4,9 +4,14 @@ OUTROOT:=..
OUTTARGET:=$(OUTROOT)/$(OUTDIR) OUTTARGET:=$(OUTROOT)/$(OUTDIR)
HTML:=$(ARCHIVES:%.txt.gz=$(OUTTARGET)/%/maillist.html) HTML:=$(ARCHIVES:%.txt.gz=$(OUTTARGET)/%/maillist.html)
$(OUTTARGET)/archives.md: $(HTML) archives-header.md Makefile $(OUTTARGET)/archives.html: $(HTML) Makefile
rm -fr $@ rm -fr $@
cp archives-header.md $@ echo "---" >> $@
echo "layout: fc_discuss_archives" >> $@
echo "title: Archives of the old Frama-C-discuss mailing list" >> $@
echo "---" >> $@
echo "<div class="wrap">" >> $@
echo "<div class="multicol">" >> $@
$(foreach file,$(HTML), \ $(foreach file,$(HTML), \
BASE=$(file:$(OUTTARGET)/%/maillist.html=%); \ BASE=$(file:$(OUTTARGET)/%/maillist.html=%); \
echo "<div>" >> $@; \ echo "<div>" >> $@; \
...@@ -17,6 +22,8 @@ $(OUTTARGET)/archives.md: $(HTML) archives-header.md Makefile ...@@ -17,6 +22,8 @@ $(OUTTARGET)/archives.md: $(HTML) archives-header.md Makefile
echo "</ul>" >> $@; \ echo "</ul>" >> $@; \
echo "</div>" >> $@; \ echo "</div>" >> $@; \
) )
echo "</div>" >> $@
echo "</div>" >> $@
$(OUTTARGET)/%/maillist.html: %.txt.gz mhonarc-config.rc $(OUTTARGET)/%/maillist.html: %.txt.gz mhonarc-config.rc
mkdir -p $(dir $@) mkdir -p $(dir $@)
......
---
layout: fc_discuss_archives
title: Archives of the old Frama-C-discuss mailing list
---
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
layout: fc_discuss_archives layout: fc_discuss_archives
title: Archives of the old Frama-C-discuss mailing list title: Archives of the old Frama-C-discuss mailing list
--- ---
<div class=wrap>
<div class=multicol>
<div> <div>
<h2>2008-January</h2> <h2>2008-January</h2>
<ul> <ul>
...@@ -1073,3 +1075,5 @@ title: Archives of the old Frama-C-discuss mailing list ...@@ -1073,3 +1075,5 @@ title: Archives of the old Frama-C-discuss mailing list
<li><a href="2020-October/threads.html">By thread</a></li> <li><a href="2020-October/threads.html">By thread</a></li>
</ul> </ul>
</div> </div>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment