Permalink test

This commit is contained in:
mathias 2019-07-31 00:19:41 +03:00
parent c5577b6062
commit 97c325f552
79 changed files with 35 additions and 2 deletions

View File

@ -1,5 +1,4 @@
---
layout: home
permalink: /404
sitemap: false
---

View File

@ -14,4 +14,4 @@ defaults:
- scope:
path: _posts
values:
permalink: ''
permalink: null

34
_layouts/main.html Normal file
View File

@ -0,0 +1,34 @@
---
layout: minify
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
{% if page.title %}
{{ page.title }}
{% endif %}
{{ site.title }}
{% if page.title == null %}
- Free OP | Anarchy | Creative
{% endif %}
</title>
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'/index.html','/' }}">
<link rel="alternate" type="application/atom+xml" href="/feed.xml">
<link rel="manifest" href="/site.webmanifest">
<style>
{% capture style %}
{% include style.scss %}
{% endcapture %}
{{ style | scssify }}
</style>
</head>
<body>
<main>
{{ content }}
</main>
</body>
</html>