mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-18 17:14:15 +00:00
theme improvements
This commit is contained in:
@ -1,15 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ site.title }} — {{ page.title }}</title>
|
||||
<title>{{ site.title }}{% if page.title %} — {{ page.title }}{% endif %}</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}?{{ site.time | date: '%s%N' }}">
|
||||
|
||||
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
||||
{%- include google-analytics.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -30,7 +30,7 @@ layout: default
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
<main class="home">
|
||||
<main class="home" aria-label="Content">
|
||||
|
||||
<h1 class="divided">
|
||||
Contents
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: default
|
||||
layout: post
|
||||
---
|
||||
|
||||
{{ content }}
|
||||
|
@ -6,17 +6,25 @@ layout: default
|
||||
❮ Home
|
||||
</a>
|
||||
|
||||
<article>
|
||||
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
|
||||
<h1 class="post-title divided">
|
||||
<h1 class="post-title divided p-name" itemprop="name headline">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<div class="article-meta">
|
||||
<div>{{ page.author }}</div>
|
||||
<div class="post-date">{{ page.date | date: "%B %-d, %Y" }}</div>
|
||||
<div class="post-content e-content" itemprop="articleBody">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
{% if page.author %}
|
||||
<div itemprop="author">{{ page.author }}</div>
|
||||
{% endif %}
|
||||
<time class="post-date dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%B %-d, %Y" }}</time>
|
||||
</div>
|
||||
|
||||
{% if site.disqus.shortname %}
|
||||
{% include disqus-comments.html %}
|
||||
{% endif %}
|
||||
|
||||
</article>
|
||||
|
Reference in New Issue
Block a user