aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_layouts
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-04-18 22:28:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-04-18 22:35:35 -0400
commit57cf0759c0b3096daeda3d39e1184a374bfe2b0b (patch)
tree889cf716a6ca65187733c0ddded8def39c484e28 /docs/_layouts
parent85c01d4b6acc0aceb3bea68b51c8bd892cd6bd38 (diff)
downloadkutter-57cf0759c0b3096daeda3d39e1184a374bfe2b0b.tar.gz
kutter-57cf0759c0b3096daeda3d39e1184a374bfe2b0b.tar.xz
kutter-57cf0759c0b3096daeda3d39e1184a374bfe2b0b.zip
docs: Add logos to web page
Also, move docs/index.md to docs/_layouts/home.html. Add a docs/_layouts/README file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/_layouts')
-rw-r--r--docs/_layouts/README5
-rw-r--r--docs/_layouts/default.html4
-rw-r--r--docs/_layouts/home.html18
3 files changed, 26 insertions, 1 deletions
diff --git a/docs/_layouts/README b/docs/_layouts/README
new file mode 100644
index 00000000..266b60e4
--- /dev/null
+++ b/docs/_layouts/README
@@ -0,0 +1,5 @@
+This directory defines the https://www.klipper3d.org/ website. The
+site is hosted using "github pages" (which uses Jekyll to
+automatically convert the markdown files in the docs/ directory to
+html). In addition to the files in this directory, the docs/CNAME and
+docs/_config.yml file also control the website generation.
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 104d1860..d6467044 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -34,7 +34,9 @@
<!-- Navbar at top of page -->
<nav class="navbar navbar-expand-md navbar-light bg-light">
- <a class="navbar-brand" href="/">Klipper</a>
+ <a class="navbar-brand" href="/">
+ <img src="img/klipper-logo-small.png" alt="Klipper">
+ </a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html
new file mode 100644
index 00000000..fe77b462
--- /dev/null
+++ b/docs/_layouts/home.html
@@ -0,0 +1,18 @@
+---
+# This file defines the main https://www.klipper3d.org/ page.
+layout: default
+---
+<p class="text-center">Welcome to the Klipper project!</p>
+
+<p class="text-center"><img src="img/klipper-logo.png"/></p>
+
+<p>Klipper is a 3d-Printer firmware. It combines the power of a general
+purpose computer with one or more micro-controllers. See the
+<a href="/Features.html">features</a> document for more information on why you
+should use Klipper.</p>
+
+<p>To begin using Klipper start by <a href="/Installation.html">installing</a> it.</p>
+
+<p>Klipper is Free Software. Read the <a href="/Overview.html">documentation</a> or
+view
+<a href="https://github.com/KevinOConnor/klipper">the Klipper code on github</a>.</p>