mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-19 05:00:04 +02:00
Adding default layout from primer theme.
This commit is contained in:
parent
87b029a837
commit
ba746d7cf8
3 changed files with 28 additions and 0 deletions
8
_includes/head.html
Normal file
8
_includes/head.html
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
{% seo %}
|
||||||
|
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
||||||
|
</head>
|
||||||
4
_includes/js.html
Normal file
4
_includes/js.html
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"
|
||||||
|
integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg="
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
<script>anchors.add();</script>
|
||||||
16
_layouts/default.html
Normal file
16
_layouts/default.html
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ site.lang | default: "en-US" }}">
|
||||||
|
{% include head.html %}
|
||||||
|
<body>
|
||||||
|
<div class="container-lg px-3 my-5 markdown-body">
|
||||||
|
{% if site.title and site.title != page.title %}
|
||||||
|
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
{% include footer.html %}
|
||||||
|
</div>
|
||||||
|
{% include js.html %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue