configure jekyll seo tag
This commit is contained in:
parent
3ca486b00f
commit
0ce473cb5f
13
_config.yml
13
_config.yml
|
@ -1,16 +1,24 @@
|
|||
# include: ['dokumentit']
|
||||
title: Piraattipuolueen dokumenttikirjasto
|
||||
tagline: Valitse vapaus
|
||||
author:
|
||||
name: "Piraattipuolue"
|
||||
url: "https://piraattipuolue.fi"
|
||||
description: >
|
||||
GitHub Pagesissa ylläpidetty Piraattipuolueen historian
|
||||
säilyttävä dokumenttikirjasto.
|
||||
lang: fi
|
||||
locale: fi_FI
|
||||
timezone: Europe/Helsinki
|
||||
github_username: Piraattipuolue
|
||||
encoding: utf-8
|
||||
icon: https://www.piraattipuolue.fi/wp-content/uploads/2016/10/cropped-2000px-Piratpartiet.svg_-32x32.png
|
||||
defaults:
|
||||
- scope:
|
||||
path: ""
|
||||
path: "*"
|
||||
values:
|
||||
layout: "default"
|
||||
|
||||
image: https://www.piraattipuolue.fi/wp-content/uploads/2016/10/cropped-2000px-Piratpartiet.svg_-32x32.png
|
||||
theme: minima
|
||||
# theme: jekyll-theme-leap-day
|
||||
# theme: jekyll-theme-minimal
|
||||
|
@ -18,3 +26,4 @@ plugins:
|
|||
- jekyll-sitemap
|
||||
sitemap:
|
||||
file: "/sitemap.xml"
|
||||
# jekyll seo-tag
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
<footer class="site-footer h-card">
|
||||
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
||||
|
||||
<div class="footer-col-wrapper">
|
||||
<div class="footer-col footer-col-1">
|
||||
<ul class="contact-list">
|
||||
<li class="p-name">
|
||||
{%- if site.author -%}
|
||||
<a href="{{ site.author.url }}">{{ site.author.name }}</a>
|
||||
{%- else -%}
|
||||
{{ site.title | escape }}
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{%- if site.email -%}
|
||||
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
||||
{%- endif -%}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="footer-col footer-col-2">
|
||||
{%- include social.html -%}
|
||||
</div>
|
||||
|
||||
<div class="footer-col footer-col-3">
|
||||
<p>{{- site.description | escape -}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | relative_url }}">
|
||||
<link rel="icon prefetch" href="{{site.icon}}"><link rel="icon prefetch" href="{{site.icon}}">
|
||||
<meta name="referrer" content="no-referrer" />
|
||||
<meta name="og:image" content="{{site.icon}}"/>
|
||||
|
||||
{%- feed_meta -%}
|
||||
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
||||
|
|
Loading…
Reference in New Issue