Commit a75aa8ba authored by Laura Kalbag's avatar Laura Kalbag

Craft summaries for pages including funding

These appear in the <head> for opengraph or Twitter descriptions (which other sharing platforms use too). Uses existing descriptions where possible. Closes #83
parent f788ffcc
......@@ -4,6 +4,7 @@ date: 2019-06-12T09:26:11+01:00
menu:
main:
weight: 2
summary: "We’re a tiny and independent two-person not-for-profit based in Ireland. We advocate for and build small technology to protect personhood and democracy in the digital network age."
---
# About
......
......@@ -4,6 +4,7 @@ date: 2019-06-12T09:39:44+01:00
menu:
main:
weight: 8
summary: "We’re available for speaking engagements, media interviews about our work, and to chat to VPS hosts about working together."
---
# Contact Us
......
......@@ -4,6 +4,7 @@ date: 2018-07-30T14:15:40+01:00
menu:
main:
weight: 6
summary: "We regularly speak at international events. View our past talks and contact us if you want to book Laura or Aral for your event."
---
# Events
......
......@@ -4,6 +4,8 @@ date: 2019-06-12T09:28:43+01:00
menu:
main:
weight: 9
meta_title: "Fund Small Technology Foundation"
description: "We’re a tiny team of two funded by individuals like you. Your patronage goes towards keeping a roof over our heads as we build a better future for the Internet."
---
# Fund Us
......
---
title: "Thank you for your one-time donation!"
date: 2019-06-12T09:28:43+01:00
meta_title: "Fund Small Technology Foundation"
description: "We’re a tiny team of two funded by individuals like you. Your patronage goes towards keeping a roof over our heads as we build a better future for the Internet."
---
# Thank you for your one-time donation!
......
......@@ -4,6 +4,7 @@ date: 2018-07-30T14:15:40+01:00
menu:
main:
weight: 5
summary: "Read the latest news and articles from Small Technology Foundation, as found on our personal sites and in other media coverage."
---
# News
......
---
title: "Legal and Privacy"
date: 2018-09-13T14:15:40+01:00
summary: "Version 2019.1, as published on 26th August, 2019. We exist to protect your privacy"
---
# Privacy
......
......@@ -4,6 +4,7 @@ date: 2019-06-12T09:42:02+01:00
menu:
main:
weight: 3
summary: "Imagine a peer-to-peer web where you own your own home at your own address and where only you have the key to your front door. This is what we’re building and we call it Tincan."
---
<style>
......
......@@ -3,6 +3,8 @@ title: "Dynamic Template"
display_title: "small technology"
date: 2018-01-18T16:52:40+01:00
summary: "A dynamic page"
meta_title: "Fund Small Technology Foundation"
description: "We’re a tiny team of two funded by individuals like you. Your patronage goes towards keeping a roof over our heads as we build a better future for the Internet."
---
${main}
......
......@@ -4,6 +4,7 @@ date: 2018-12-19T17:46:43Z
menu:
main:
weight: 7
summary: "We speak at a large number of events to advocate for small technology. Here are recordings of our some of our appearances."
---
# Videos
......
......@@ -2,10 +2,16 @@
<!-- Schema.org markup -->
{{ if .IsHome }}
<meta itemprop="headline" content="{{ .Site.Title }}">
{{ else if .Params.meta_title }}
<meta itemprop="headline" content="{{ .Params.meta_title }}">
{{ else }}
<meta itemprop="headline" content="{{ .Title }}">
{{ end }}
{{ if .Params.Description }}
<meta itemprop="description" content="{{ .Params.description }}">
{{ else }}
<meta itemprop="description" content="{{ .Summary }}">
{{ end }}
<meta itemprop="image" content="{{ .Site.BaseURL }}{{ .Params.image }}">
<meta itemprop="image" content="{{ .Site.BaseURL }}{{ .Site.Params.publisherLogo }}">
{{ if eq .Type "news" }}
......
......@@ -3,10 +3,16 @@
<meta name="twitter:site" content="@{{ .Site.Params.twitter }}">
{{ if .IsHome }}
<meta name="twitter:title" content="{{ .Site.Title }}">
{{ else if .Params.meta_title }}
<meta name="twitter:title" content="{{ .Params.meta_title }}">
{{ else }}
<meta name="twitter:title" content="{{ .Title }}">
{{ end }}
{{ if .Params.description }}
<meta name="twitter:description" content="{{ .Params.description }}">
{{ else }}
<meta name="twitter:description" content="{{ .Summary }}">
{{ end }}
{{ if .Params.Image }}
<!-- Twitter Summary Card with Large Image data -->
<!-- Aspect ratio 2:1, minimum dimension 300x157 -->
......@@ -23,12 +29,20 @@
{{ end }}
<!-- Open Graph data -->
<meta property="og:locale" content="{{ .Site.Language.Lang }}">
{{ if .Params.meta_title }}
<meta property="og:site_name" content="{{ .Params.meta_title }}">
{{ else }}
<meta property="og:site_name" content="{{ .Site.Title }}">
{{ end }}
<meta property="og:type" content="article">
{{ if .Params.meta_title }}
<meta property="og:title" content="{{ .Params.meta_title }}">
{{ else }}
<meta property="og:title" content="{{ .Title }}">
{{ end }}
<meta property="og:url" content="{{ .Permalink }}">
{{ if .Params.Description }}
<meta property="og:description" content="{{ .Params.Description }}">
{{ if .Params.description }}
<meta property="og:description" content="{{ .Params.description }}">
{{ else }}
<meta property="og:description" content="{{ .Summary }}">
{{ end }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment