cards, new post thing

This commit is contained in:
lf- 2021-03-09 07:17:54 -08:00
parent 7555f3bbcb
commit 744d837327
10 changed files with 733 additions and 7 deletions

View file

@ -3,14 +3,26 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ config.description }}">
<title>
{{ config.title }}
</title>
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="og:image" content="{{ get_url(path='icon.png') | safe }}" />
<link type="text/css" rel="stylesheet" href="{{ get_url(path="css/normalize.css", cachebust=true) | safe }}">
<link type="text/css" rel="stylesheet" href="{{ get_url(path="/main.css", cachebust=true) | safe }}">
<meta name="theme-color" content="#540362" />
<!-- <link rel="icon" href="{{ get_url(path='icon.png') | safe }}"> -->
<link rel="alternate" href="/rss.xml">
{% block pagemeta %}
<!-- <meta name="description" content="{{ config.description }}"> -->
<meta property="og:description" content="{{ config.description }}" />
<title>{{ config.title }}</title>
<meta property="og:title" content="{{ config.title }}" />
<meta property="og:url" content="{{ current_url }}" />
{% endblock pagemeta %}
<link type="text/css" rel="stylesheet" href="{{ get_url(path='css/normalize.css', cachebust=true) | safe }}">
<link type="text/css" rel="stylesheet" href="{{ get_url(path='/main.css', cachebust=true) | safe }}">
</head>
<body>
<header>

View file

@ -1,5 +1,20 @@
{% extends "base.html" %}
{% block pagemeta %}
<title>{{ page.title }} - {{ config.title }}</title>
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:url" content="{{ page.permalink }}" />
{% if page.description %}
<meta name="description">{{ page.description }}</meta>
<meta property="og:description" content="{{ page.description }}" />
{% else %}
<meta property="og:description" content="{{ config.description }}" />
{% endif %}
{% endblock pagemeta %}
{% block content %}
<header class="page-header">
<h1>{{ page.title }}</h1>