This commit is contained in:
parent
12761b809c
commit
04413b58b7
@ -9,6 +9,7 @@ services:
|
||||
- 9001:80
|
||||
|
||||
website:
|
||||
restart: always
|
||||
build:
|
||||
context: '.'
|
||||
dockerfile: ./Dockerfile.python
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: offen.software
|
||||
description: TBD
|
||||
save_as: index.html
|
||||
template: index
|
||||
template: page
|
||||
sitemap_priority: 1.0
|
||||
|
||||
# offen.software website
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% block head %}
|
||||
<head>
|
||||
<title>
|
||||
{% block title %}{{ page.title }}{% endblock %}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
|
||||
@ -12,22 +12,20 @@
|
||||
<meta name="description" content="{{ description }}">
|
||||
<meta property="og:site_name" content="{{ SITENAME }}">
|
||||
<meta property="og:locale" content="{{ DEFAULT_LANG }}">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta property="og:description" content="{{ page.description }}">
|
||||
<meta property="og:title" content="{{ title }}">
|
||||
<meta property="og:description" content="{{ description }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ page.href }}">
|
||||
<link rel="canonical" href="{{ SITEURL }}/{{ page.href }}">
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ href }}">
|
||||
<link rel="canonical" href="{{ SITEURL }}/{{ href }}">
|
||||
{% assets filters="postcss", output="css/style.min.css", "css/tachyons.min.css", "css/styles.css" %}
|
||||
<link rel="stylesheet" href="/{{ ASSET_URL }}">
|
||||
{% endassets %}
|
||||
</head>
|
||||
{% endblock %}
|
||||
<body class="no-js">
|
||||
{% block body %}{% endblock %}
|
||||
<script>
|
||||
document.body.classList.remove('no-js');
|
||||
</script>
|
||||
{% block content %}
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
9
website/theme/templates/page.html
Normal file
9
website/theme/templates/page.html
Normal file
@ -0,0 +1,9 @@
|
||||
{% extends "_layout.html" %}
|
||||
|
||||
{% set href = page.href %}
|
||||
{% set title = page.title %}
|
||||
{% set description = page.description %}
|
||||
|
||||
{% block body %}
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user