From c380288db8005730b53906ce9de311fd682fa36c Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Mon, 3 Dec 2018 10:49:15 +0100 Subject: Put floating logo on left --- bin/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/template.html b/bin/template.html index 2add09801..868a5c892 100644 --- a/bin/template.html +++ b/bin/template.html @@ -37,7 +37,7 @@ $endfor$ $if(title)$
- GF Logo + GF Logo

$title$

$if(subtitle)$ -- cgit v1.2.3 From 5546c6d6da43e878edc74ef8a52db4f4cf563ee0 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Mon, 3 Dec 2018 10:49:37 +0100 Subject: Update clean_html to handle markdown sources too --- bin/clean_html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/clean_html b/bin/clean_html index e2bf0e799..9e3e9c84c 100755 --- a/bin/clean_html +++ b/bin/clean_html @@ -1,8 +1,20 @@ #!/bin/bash -### This script finds all .t2t (txt2tags) files and deletes the corresponding html file +# This script finds all .t2t (txt2tags) and .md (markdown) files +# and deletes the corresponding html file find . -name '*.t2t' | while read t2t ; do html="${t2t%.t2t}.html" - rm -f "$html" + if [ -f "$html" ] ; then + echo "$html" + rm -f "$html" + fi +done + +find . -name '*.md' | while read md ; do + html="${md%.md}.html" + if [ -f "$html" ] ; then + echo "$html" + rm -f "$html" + fi done -- cgit v1.2.3 From 34e89ac710b80e733d2ed31b3f46aedd64ba17cf Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Mon, 3 Dec 2018 15:27:55 +0100 Subject: Put GF logo on the right again --- bin/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/template.html b/bin/template.html index 868a5c892..57ae32e04 100644 --- a/bin/template.html +++ b/bin/template.html @@ -37,7 +37,7 @@ $endfor$ $if(title)$
- GF Logo + GF Logo

$title$

$if(subtitle)$ -- cgit v1.2.3