aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/contrib.md8
-rw-r--r--www/footer.md7
-rw-r--r--www/global.css15
-rw-r--r--www/headercenter.css3
-rw-r--r--www/headerleft.css3
-rw-r--r--www/index.md4
-rwxr-xr-xwww/publish.sh15
7 files changed, 36 insertions, 19 deletions
diff --git a/www/contrib.md b/www/contrib.md
index 85b30ed8..b1089a39 100644
--- a/www/contrib.md
+++ b/www/contrib.md
@@ -30,7 +30,7 @@ Damien Zammit
Maintains the Gigabyte GA-G41M-ES2L coreboot port, which is integrated
in libreboot. Also works on other hardware for the benefit of the
libreboot project. Contact **damo22** on the freenode IRC network. This
-persons website is [zammit.org](http://www.zammit.org/).
+person's website is [zammit.org](http://www.zammit.org/).
Denis Carikli
-------------
@@ -133,3 +133,9 @@ Vladimir Serbinenko
Ported many of the thinkpads supported in libreboot, to coreboot, and
made many fixes in coreboot which benefited the libreboot project.
Contact **phcoder** in the \#coreboot IRC channel on freenode.
+
+Zyliwax
+-------------------
+
+Wrote the grubeditor.sh script and associated documentation. Contact
+**zyliwax** in the \#libreboot channel.
diff --git a/www/footer.md b/www/footer.md
new file mode 100644
index 00000000..dfddfd75
--- /dev/null
+++ b/www/footer.md
@@ -0,0 +1,7 @@
+
+[License](/docs/fdl-1.3.md) --
+[Template](/license.md) --
+[Authors](/contrib.md) --
+[Conduct Guidelines](/conduct.md) --
+[Management Guidelines](/management.md) --
+[Peers Community](https://peers.community/) --
diff --git a/www/global.css b/www/global.css
index 0264e4ef..b325ef31 100644
--- a/www/global.css
+++ b/www/global.css
@@ -13,11 +13,8 @@ body {
body {
line-height: 1.6;
font-family: Cantarell, sans-serif;
- font-size: 1.1em; color: #222;
-}
-
-header {
- text-align: center;
+ font-size: 1.1em;
+ color: #222;
}
#logo {
@@ -37,3 +34,11 @@ a:hover {
.date {
display: block;
}
+
+h1, h2, h3, .h:hover a {
+ display: inline;
+}
+
+.h a {
+ display: none;
+}
diff --git a/www/headercenter.css b/www/headercenter.css
new file mode 100644
index 00000000..6b8c294c
--- /dev/null
+++ b/www/headercenter.css
@@ -0,0 +1,3 @@
+header {
+ text-align: center;
+}
diff --git a/www/headerleft.css b/www/headerleft.css
deleted file mode 100644
index 645ab4ea..00000000
--- a/www/headerleft.css
+++ /dev/null
@@ -1,3 +0,0 @@
-header {
- text-align: left !important;
-}
diff --git a/www/index.md b/www/index.md
index 7e71f24e..f15b3082 100644
--- a/www/index.md
+++ b/www/index.md
@@ -8,9 +8,9 @@ mascot"){#logo}](faq.md#who-did-the-logo)
[FAQ](faq.md) --
[Download](download.md) --
[Install](docs/install/) --
-[Documentation](docs/) --
+[Docs](docs/) --
[News](news/) --
-[Discuss](https://webchat.freenode.net/?channels=libreboot) --
+[IRC](https://webchat.freenode.net/?channels=libreboot) --
[Bugs](https://notabug.org/libreboot/libreboot/issues) --
[Contribute](git.md) --
[Management](management.md) --
diff --git a/www/publish.sh b/www/publish.sh
index 55b6660a..e75ec332 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -35,18 +35,14 @@ if [ "${FILE}" != "./index" ]; then
fi
RETURN="<a href='$DEST'>Back to previous index</a>"
- OPTS="--css /headerleft.css -T Libreboot"
+ OPTS="-T Libreboot"
+else
+ OPTS="--css /headercenter.css"
fi
if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then
- echo "" >> temp.md
- printf "[License](/docs/fdl-1.3.md) --\n" >> temp.md
- printf "[Template](/license.md) --\n" >> temp.md
- printf "[Authors](/contrib.md) --\n" >> temp.md
- printf "[Conduct Guidelines](/conduct.md) --\n" >> temp.md
- printf "[Management Guidelines](/management.md) --\n" >> temp.md
- printf "[Peers Community](https://peers.community/) \n" >> temp.md
+ cat footer.md >> temp.md
fi
# change out .md -> .html
@@ -65,3 +61,6 @@ pandoc $TOC $SMART temp.md -s --css /global.css $OPTS \
# additionally, produce bare file for RSS
pandoc $1 > $FILE.bare.html
+
+# generate section title anchors as [link]
+sed $FILE.html -i -e 's_^<h\([123]\) id="\(.*\)">\(.*\)</h\1>_<div class="h"><h\1 id="\2">\3</h\1><a aria-hidden="true" href="#\2">[link]</a></div>_'