From b30456aa0c8157360e7f3ef5a3e2e677cdd7d40e Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Thu, 29 Nov 2018 10:35:43 +0100 Subject: Rename _template.html to template.html --- bin/_template.html | 130 ----------------------------------------------------- bin/template.html | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++ bin/update_html | 4 +- 3 files changed, 132 insertions(+), 132 deletions(-) delete mode 100644 bin/_template.html create mode 100644 bin/template.html diff --git a/bin/_template.html b/bin/_template.html deleted file mode 100644 index cffae1b3b..000000000 --- a/bin/_template.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - -$for(author-meta)$ - -$endfor$ -$if(date-meta)$ - -$endif$ -$if(keywords)$ - -$endif$ - $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ -$for(css)$ - -$endfor$ - - -$if(math)$ - $math$ -$endif$ - -$for(header-includes)$ - $header-includes$ -$endfor$ - - -
- -$if(title)$ -
- - GF Logo - -

$title$

-$if(subtitle)$ -

$subtitle$

-$endif$ -$for(author)$ -

$author$

-$endfor$ -$if(date)$ -

$date$

-$endif$ -
-$endif$ -$if(toc)$ - -$endif$ -$body$ -
- - - - - - - diff --git a/bin/template.html b/bin/template.html new file mode 100644 index 000000000..cffae1b3b --- /dev/null +++ b/bin/template.html @@ -0,0 +1,130 @@ + + + + + +$for(author-meta)$ + +$endfor$ +$if(date-meta)$ + +$endif$ +$if(keywords)$ + +$endif$ + $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ +$for(css)$ + +$endfor$ + + +$if(math)$ + $math$ +$endif$ + +$for(header-includes)$ + $header-includes$ +$endfor$ + + +
+ +$if(title)$ +
+ + GF Logo + +

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ +$for(author)$ +

$author$

+$endfor$ +$if(date)$ +

$date$

+$endif$ +
+$endif$ +$if(toc)$ + +$endif$ +$body$ +
+ + + + + + + diff --git a/bin/update_html b/bin/update_html index ec82ec491..bb0ce3ad4 100755 --- a/bin/update_html +++ b/bin/update_html @@ -41,7 +41,7 @@ function render_t2t_html { --from=html \ --to=html5 \ --standalone \ - --template="$DIR/_template.html" \ + --template="$DIR/template.html" \ --variable="rel-root:$relroot" \ --metadata="title:$title" \ --metadata="author:$author" \ @@ -70,7 +70,7 @@ function render_md_html { --from=markdown \ --to=html5 \ --standalone \ - --template="$DIR/_template.html" \ + --template="$DIR/template.html" \ --variable="rel-root:$relroot" \ "$md" \ --output="$html" -- cgit v1.2.3