From dd304ab01af4360767be4bf7a39a616b6f46a519 Mon Sep 17 00:00:00 2001 From: tvluke <tvluke@chaotikum.org> Date: Fri, 14 Jun 2024 13:06:13 +0200 Subject: [PATCH] add liftiff layout --- _layouts/liftoff.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 _layouts/liftoff.html diff --git a/_layouts/liftoff.html b/_layouts/liftoff.html new file mode 100644 index 00000000..de70e892 --- /dev/null +++ b/_layouts/liftoff.html @@ -0,0 +1,34 @@ +--- +layout: default +--- +{% if page.collectionpage %} + {% assign collectiondata = site.collections | where: "label", page.collectionpage | first %} + {% assign nofeature = collectiondata.nofeature %} +{% elsif page.collection and page.collection != '' -%} + {% assign collectiondata = site.collections | where: "label", page.collection | first %} + {% assign nofeature = collectiondata.nofeature %} +{% else %} + {% assign nofeature = page.nofeature %} +{% endif %} +<header class="header"> +{% include site-feature.html %} + <link rel="stylesheet" href="{{site.baseurl}}/assets/fontawesome-free-6.3.0-web/css/all.css" type='text/css'> + <link href='{{ site.url }}/assets/bootstrap/dist/css/bootstrap.min.css' rel='stylesheet'> + <script src='{{ site.url }}/assets/jquery-3.6.4.min.js'></script> + <script src='{{ site.url }}/assets/popper.min.js'></script> + <script src='{{ site.url }}/assets/bootstrap/dist/js/bootstrap.min.js'></script> +</header> + +<main class="main container"> + <div class="content-up"> + <article class="article--page typeset"> + + {{ content }} + + </article> +</div> + + +</main> + +{% include site-footer.html %} \ No newline at end of file -- GitLab