Page titles

master
southerntofu 3 years ago
parent b8f3cfe324
commit a51d9faac9
  1. 2
      README.md
  2. 4
      config.toml
  3. 2
      templates/index.html
  4. 2
      templates/page.html
  5. 2
      templates/section.html

@ -373,6 +373,6 @@ If something is missing for you, please open an issue.
- [x] ASCII banner does not overflow
- [x] write setup/configuration guide
- [x] reference water.css semantic styling
- [x] RSS links
- [ ] RSS (missing localized title and description)
- [x] hacking guides for: edition, translation, webdesign
- [ ] reference quickstart guide for git

@ -20,8 +20,8 @@ languages = [
]
[extra]
# Put all your custom variables here
title = "dnsmanager - liberate your zones"
# The common part of the title (appended to page/section titles)
title = " | dnsmanager"
[extra.forge]
browse = "https://tildegit.org/southerntofu/dnsmanager-website/src/branch/master/"
home = "https://tildegit.org/"

@ -4,7 +4,7 @@
<html class="no-js" lang="{{ lang | default(value="en")}}">
<head>
<meta charset="utf8">
<title>{{ config.extra.title }}</title>
<title>{% block title %}{{ section.title }}{% endblock %}</title>
<link rel="alternate" type="application/rss+xml" href="{{ widgets::i18n_url(path="rss.xml") }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ get_url(path="style.css") }}" type="text/css">

@ -1,6 +1,6 @@
{% extends "index.html" %}
{% block title %}{{ page.title }} - {{ config.title }}{% endblock %}
{% block title %}{{ page.title }}{{ config.extra.title }}{% endblock %}
{% block main %}
<article class="h-entry">

@ -1,6 +1,6 @@
{% extends "index.html" %}
{% block title %}{{ section.title }} - {{ config.title }}{% endblock %}
{% block title %}{{ section.title }}{{ config.extra.title }}{% endblock %}
{% block main %}
<section class="h-feed">

Loading…
Cancel
Save