From 6b94ae3f66350c08f060167e5972daf63874c1d8 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Apr 2017 21:06:08 -0700 Subject: Cleanup homepage a bit --- www/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'www/index.md') diff --git a/www/index.md b/www/index.md index 252eebdf..da98cfd0 100644 --- a/www/index.md +++ b/www/index.md @@ -5,16 +5,16 @@ title: Libreboot [![Libreboot logo](logo/logo.svg "Canteloupe, the libreboot mascot"){#logo}](faq.md#who-did-the-logo) -[Downloads](download.md) -- -[Documentation](docs/) -- -[FAQ](faq.md) -- -[Contributors](contrib.md) -- -[Report a bug](https://notabug.org/libreboot/libreboot/issues/new) -- -[Submit a patch](git.md) -- -[Hardware Compatibility](docs/hcl/) -- +[Download](download.md) -- [Install](docs/install/) -- +[Contribute](git.md) -- [Mirror](rsync.md) -- -[IRC](https://webchat.freenode.net/?channels=libreboot) +[FAQ](faq.md) -- +[Docs](docs/) -- +[Authors](contrib.md) -- +[Bugs](https://notabug.org/libreboot/libreboot/issues) -- +[Compatibility](docs/hcl/) -- +[Support](https://webchat.freenode.net/?channels=libreboot) Libreboot is a [free](https://en.wikipedia.org/wiki/Free_software) and Open Source BIOS or UEFI replacement, initialising the hardware and booting your -- cgit v1.2.3-70-g09d2 From d628a77df6f5124627404ed9d79aa164f33fbcb8 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Apr 2017 22:59:57 -0700 Subject: Misc www cleanup --- www/index.md | 2 +- www/publish.sh | 13 ++++++----- www/template.html | 67 ------------------------------------------------------- 3 files changed, 9 insertions(+), 73 deletions(-) delete mode 100644 www/template.html (limited to 'www/index.md') diff --git a/www/index.md b/www/index.md index da98cfd0..5ff3acbe 100644 --- a/www/index.md +++ b/www/index.md @@ -80,7 +80,7 @@ Transparency and collaboration are the way forward. ~Alyssa Rosenzweig -A message from Leah, to further compliment Alyssa's submission: +### A message from Leah, to further compliment Alyssa's submission: I acknowledge that what I did was wrong. Although I felt justified at the time, I ended up hurting a lot of people, most of whom were uninvolved with any of diff --git a/www/publish.sh b/www/publish.sh index 6de15662..671163f6 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -3,12 +3,16 @@ echo $1 FILE=${1%.md} -# if not homepage, add a link back to the homepage +cat $1 > temp.md + +# add footer + +echo '' >> temp.md + if [ "${FILE}" != "./index" ]; then - RETURN="

Go back to homepage

" + echo -ne '[Back to home](/index.html) -- ' >> temp.md fi -cat $1 > temp.md echo "[License](license.md)" >> temp.md # change out .md -> .html @@ -21,5 +25,4 @@ TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc") SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart") # chuck through pandoc -pandoc $SMART temp.md -s --css /global.css --section-divs -T Libreboot $TOC \ - --template=template.html --metadata "return=$RETURN" > $FILE.html +pandoc $TOC $SMART temp.md -s --css /global.css -T Libreboot > $FILE.html diff --git a/www/template.html b/www/template.html deleted file mode 100644 index 2fc9b28d..00000000 --- a/www/template.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - -$for(author-meta)$ - -$endfor$ -$if(date-meta)$ - -$endif$ -$if(keywords)$ - -$endif$ - $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - -$if(quotes)$ - -$endif$ -$if(highlighting-css)$ - -$endif$ -$for(css)$ - -$endfor$ -$if(math)$ - $math$ -$endif$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -$for(include-before)$ -$include-before$ -$endfor$ -$if(title)$ -
-

$title$

-$if(subtitle)$ -

$subtitle$

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

$author$

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

$date$

-$endif$ -
-$endif$ -$if(return)$ -$return$ -$endif$ -$if(toc)$ - -$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - -- cgit v1.2.3-70-g09d2 From eb986efd4469f06b64f2f42218350906256e70af Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 4 Apr 2017 08:37:00 -0700 Subject: Compliment -> complement --- www/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/index.md') diff --git a/www/index.md b/www/index.md index 5ff3acbe..e878aabc 100644 --- a/www/index.md +++ b/www/index.md @@ -80,7 +80,7 @@ Transparency and collaboration are the way forward. ~Alyssa Rosenzweig -### A message from Leah, to further compliment Alyssa's submission: +### A message from Leah, to further complement Alyssa's submission: I acknowledge that what I did was wrong. Although I felt justified at the time, I ended up hurting a lot of people, most of whom were uninvolved with any of -- cgit v1.2.3-70-g09d2