Better title on the website

This commit is contained in:
Thomas Sileo 2018-05-21 21:03:21 +02:00
parent 5169095240
commit abc168257e
9 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Admin - {{ config.NAME }}{% endblock %}
{% block content %}
<div id="container">
{% include "header.html" %}

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Followers - {{ config.NAME }}{% endblock %}
{% block header %}
{% endblock %}
{% block content %}

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Following - {{ config.NAME }}{% endblock %}
{% block header %}
{% endblock %}
{% block content %}

View file

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <!---->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ config.USERNAME }}</title>
<title>{% block title %}{{ config.NAME }}{% endblock %} - microblog.pub</title>
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
<link rel="stylesheet" href="/static/css/theme.css">
<link rel="authorization_endpoint" href="{{ config.ID }}/indieauth">

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Login - {{ config.NAME }}{% endblock %}
{% block header %}
{% endblock %}
{% block content %}

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}New - {{ config.NAME }}{% endblock %}
{% block content %}
<div id="container">
{% include "header.html" %}

View file

@ -1,12 +1,13 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
{% block header %}
<meta content="article" property="og:type" />
<meta content="{{ note.activity.object.url }}" property="og:url" />
<meta content="{{ config.USERNAME }}" property="og:site_name" />
<meta content="{{ config.USERNAME }}" property="og:title" />
<meta content="{{ note.activity.object.content | html2plaintext }}" property="og:description" />
<meta content="{{ note.activity.object.content | html2plaintext | truncate(50) }}" property="og:description" />
<meta content="{{ me.icon.url }}" property="og:image" />
<meta content="200" property="og:image:width" />
<meta content="200" property="og:image:height" />

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Stream - {{ config.NAME }}{% endblock %}
{% block content %}
<div class="h-feed" id="container">
{% include "header.html" %}

View file

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}#{{ tag }} - {{ config.NAME }}{% endblock %}
{% block header %}
<link rel="self" href="{{ config.ID }}/">
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/">