From 14e777e7c721b8226bc7bd4a3d673196563e906c Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Sun, 22 Dec 2019 19:57:19 +0100 Subject: [PATCH] Website landing page --- docs/_config.yml | 4 +-- docs/_includes/header.html | 2 +- docs/_includes/navigation.html | 2 +- docs/_layouts/landing.html | 29 ++++++++++++++++++++ docs/_posts/2019-12-04-home.md | 46 ++++++++++++++++++++++++++++++++ docs/css/main.css | 35 ++++++++++++++++++++++++ docs/index.md | 43 ++++------------------------- docs/static/icon_foreground.png | Bin 0 -> 177657 bytes 8 files changed, 119 insertions(+), 42 deletions(-) create mode 100644 docs/_layouts/landing.html create mode 100644 docs/_posts/2019-12-04-home.md create mode 100644 docs/static/icon_foreground.png diff --git a/docs/_config.yml b/docs/_config.yml index 9f9baf72..900bd2c9 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -52,8 +52,8 @@ sections: [ # path (e.g. on GitHub pages) leave off the trailing slash, e.g. /my-project baseurl: '/CameraView' -# Dates are not included in permalinks -permalink: none +# Ensure permalinks have no date nor extension +permalink: /:categories/:title # Syntax highlighting highlighter: rouge diff --git a/docs/_includes/header.html b/docs/_includes/header.html index 66b23bee..42817d38 100644 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -1,3 +1,3 @@ -

{{ site.title }} +

{{ site.title }} {% if site.subtitle %}{{ site.subtitle }}{% endif %}

diff --git a/docs/_includes/navigation.html b/docs/_includes/navigation.html index 0edcaff4..4bd3c88c 100644 --- a/docs/_includes/navigation.html +++ b/docs/_includes/navigation.html @@ -1,5 +1,5 @@