From ff28f125a1a8508856cc87a28fd217269265366b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Skaaden?= Date: Sat, 26 Dec 2020 18:53:35 +0100 Subject: [PATCH] Started new post Post about how glados.no is created --- _config.yml | 5 ++--- _includes/structure/head.html | 2 -- _includes/structure/nav.html | 2 +- _posts/2020-12-26-glados.no.md | 13 +++++++++++++ 4 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 _posts/2020-12-26-glados.no.md diff --git a/_config.yml b/_config.yml index f4665dc..1c42964 100644 --- a/_config.yml +++ b/_config.yml @@ -32,12 +32,11 @@ author: git_username: oyvindskaaden - collections: posts: excerpt_separator: + permalink: - markdown: kramdown @@ -54,7 +53,7 @@ defaults: type: "posts" values: layout: layouts/post - permalink: /prosjekter/:categories/:year/:month/:day/:title + permalink: /prosjekter/:year/:month/:day/:title - scope: path: "ntnu/*" diff --git a/_includes/structure/head.html b/_includes/structure/head.html index 43c149c..bee5c67 100644 --- a/_includes/structure/head.html +++ b/_includes/structure/head.html @@ -1,5 +1,4 @@ - @@ -18,7 +17,6 @@ {% endif %} - {% if page.title %} {{ page.title }} · {{ site.title }} diff --git a/_includes/structure/nav.html b/_includes/structure/nav.html index 4fc2b5b..801db22 100644 --- a/_includes/structure/nav.html +++ b/_includes/structure/nav.html @@ -11,7 +11,7 @@ <div class="navbar-nav"><!--ml-auto for høyrejustering--> <!--<a class="nav-item nav-link {% if page.url == '/' %}active{% endif %}" href="/">Hjem</a>--> {% for entry in site.data.nav %} - <a class="nav-item nav-link {% if page.url contains entry.href and page.url != / %}active{% endif %}" href="{{ entry.href }}">{{ entry.title }}</a> + <a class="nav-item nav-link {% if page.url contains entry.href and page.url != / %}active{% endif %}" href="{{ entry.href }}">{{ entry.title }}</a> {% endfor %} </div> <div class="navbar-nav ml-auto"> diff --git a/_posts/2020-12-26-glados.no.md b/_posts/2020-12-26-glados.no.md new file mode 100644 index 0000000..a5cabf4 --- /dev/null +++ b/_posts/2020-12-26-glados.no.md @@ -0,0 +1,13 @@ +--- +title: "glados.no" +description: Hvordan generere nettsider med git og jekyll +date: 2020-12-26 +categories: glados +tags: website glados jekyll git gitea +--- + +Hvordan er egentlig [glados.no](https://glados.no) satt opp som en kontinuerlig integrasjon ved hjelp av jekyll, bootstrap og git. + +<!--MORE--> + +## TEst \ No newline at end of file