From f6f7982e26ed0874c6b30227cc991ccab52b0831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Skaaden?= Date: Thu, 24 Sep 2020 23:54:17 +0200 Subject: [PATCH] Started a testing bransh --- _config.yml | 8 ++++- _layouts/lecture.html | 4 ++- index.md | 14 +++++++++ .../_posts}/2020-08-17-ntnu-files.md | 0 .../_posts}/2020-08-25-lecture-testing.md | 4 ++- pages/_tdt4160/firstTest.md | 31 +++++++++++++++++++ 6 files changed, 58 insertions(+), 3 deletions(-) rename {_posts => pages/_posts}/2020-08-17-ntnu-files.md (100%) rename {_posts => pages/_posts}/2020-08-25-lecture-testing.md (96%) create mode 100644 pages/_tdt4160/firstTest.md diff --git a/_config.yml b/_config.yml index 127726d..847be46 100644 --- a/_config.yml +++ b/_config.yml @@ -19,4 +19,10 @@ github: repository_nwo: oyvindskaaden/glados.no is_user_page: true owner_name: Øyvind Skaaden - owner_url: https://github.com/oyvindskaaden \ No newline at end of file + owner_url: https://github.com/oyvindskaaden + +collections_dir: pages +collections: + tdt4160: + output: true + permalink: /:collection/:name \ No newline at end of file diff --git a/_layouts/lecture.html b/_layouts/lecture.html index 779f9ab..c553d12 100644 --- a/_layouts/lecture.html +++ b/_layouts/lecture.html @@ -1,6 +1,6 @@ --- layout: default -permalink: /lectures/:categories/:year/:month/:day/:title/ + --- {{ page.date | date: "%-d %B %Y" }} @@ -13,3 +13,5 @@ permalink: /lectures/:categories/:year/:month/:day/:title/ {% if page.tags %} tags: {{ page.tags | join: " - " }} {% endif %} + +`permalink: /lectures/:categories/:year/:month/:day/:title/` \ No newline at end of file diff --git a/index.md b/index.md index 0c41a3b..62b7444 100644 --- a/index.md +++ b/index.md @@ -19,6 +19,20 @@ Prosjekter, dokumenter og annet {% endfor %} + + + Andre tjenester på *GLaDOS* --------------------------- diff --git a/_posts/2020-08-17-ntnu-files.md b/pages/_posts/2020-08-17-ntnu-files.md similarity index 100% rename from _posts/2020-08-17-ntnu-files.md rename to pages/_posts/2020-08-17-ntnu-files.md diff --git a/_posts/2020-08-25-lecture-testing.md b/pages/_posts/2020-08-25-lecture-testing.md similarity index 96% rename from _posts/2020-08-25-lecture-testing.md rename to pages/_posts/2020-08-25-lecture-testing.md index b2f595a..785fbd0 100644 --- a/_posts/2020-08-25-lecture-testing.md +++ b/pages/_posts/2020-08-25-lecture-testing.md @@ -26,4 +26,6 @@ interesting integral: \begin{bmatrix} a & b \\\\\ c & c -\end{bmatrix} \ No newline at end of file +\end{bmatrix} + +Whot \ No newline at end of file diff --git a/pages/_tdt4160/firstTest.md b/pages/_tdt4160/firstTest.md new file mode 100644 index 0000000..5a88182 --- /dev/null +++ b/pages/_tdt4160/firstTest.md @@ -0,0 +1,31 @@ +--- +layout: lecture +title: "Testing of lecture notes in collectiosn" +description: Filer for prosjekter og stæsj på NTNU. +math: true +date: 2020-05-29 +--- + +Lecture notes is fun \eqref{test}. + +\begin{align} + E &= mc^2 \label{test} \\\\\ + &= mv^s \nonumber +\end{align} + +$\omega = 2 \pi f$ + +In equation \eqref{eq:sample}, we find the value of an +interesting integral: + +\begin{equation} + \int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15} + \label{eq:sample} +\end{equation} + +\begin{bmatrix} + a & b \\\\\ + c & c +\end{bmatrix} + +Whot \ No newline at end of file