minor tweaks

This commit is contained in:
Benjamin Jones 2020-04-25 10:46:53 +02:00
parent 651d569eff
commit 59ef82665f
4 changed files with 20 additions and 37 deletions

View File

@ -16,6 +16,7 @@ gem "minima", "~> 2.5"
# If you have any plugins, put them here! # If you have any plugins, put them here!
group :jekyll_plugins do group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12" gem "jekyll-feed", "~> 0.12"
gem 'jekyll-build-notifier'
end end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

View File

@ -29,6 +29,8 @@ GEM
rouge (~> 3.0) rouge (~> 3.0)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
terminal-table (~> 1.8) terminal-table (~> 1.8)
jekyll-build-notifier (0.2)
terminal-notifier
jekyll-feed (0.12.1) jekyll-feed (0.12.1)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.0.1) jekyll-sass-converter (2.0.1)
@ -59,6 +61,7 @@ GEM
safe_yaml (1.0.5) safe_yaml (1.0.5)
sassc (2.2.1) sassc (2.2.1)
ffi (~> 1.9) ffi (~> 1.9)
terminal-notifier (2.0.0)
terminal-table (1.8.0) terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1) unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6) thread_safe (0.3.6)
@ -74,6 +77,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
jekyll (~> 4.0.0) jekyll (~> 4.0.0)
jekyll-build-notifier
jekyll-feed (~> 0.12) jekyll-feed (~> 0.12)
minima (~> 2.5) minima (~> 2.5)
tzinfo (~> 1.2) tzinfo (~> 1.2)

View File

@ -24,6 +24,8 @@ description: >- # this means to ignore newlines until "baseurl:"
ReclaimFutures is a technology and culture conference exploring post-capitalist desire, utopian horizons, alternative computing and ecology.. ReclaimFutures is a technology and culture conference exploring post-capitalist desire, utopian horizons, alternative computing and ecology..
baseurl: "" # the subpath of your site, e.g. /blog baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com url: "" # the base hostname & protocol for your site, e.g. http://example.com
permalink: /:year/news/:title:output_ext
# Build settings # Build settings

View File

@ -1,5 +1,14 @@
{% capture title %}
{% if page.title %}
{{ site.title | append: " \ "| append: page.title }}
{% else %}
{{ site.title | escape }}
{% endif %}
{% endcapture %}
<!-- HEAD --> <!-- HEAD -->
<head> <head>
<title>{{ title }}</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@ -12,26 +21,14 @@
<link rel="manifest" href="{{ site.baseurl }}/assets/favicons/site.webmanifest"> <link rel="manifest" href="{{ site.baseurl }}/assets/favicons/site.webmanifest">
<link rel="mask-icon" href="{{ site.baseurl }}/assets/favicons/safari-pinned-tab.svg" color="#5bbad5"> <link rel="mask-icon" href="{{ site.baseurl }}/assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#0ddfe7">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#0ddfe7">
<meta content="{{ site.title }}" property="og:site_name" /> <meta content="{{ site.title }}" property="og:site_name" />
<title>{% if page.title %}
{{ site.title | append: " - "| append: page.title }}
{% else %}
{{ site.title | escape }}
{% endif %}</title>
{% if page.title %}
<meta property="og:title" content="{{ page.title }}" />
<!-- <meta property="og:url" content="https://{{ site.baseurl }}{{ page.url }}" /> -->
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}" /> <meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}" />
<!-- Article specific OG data -->
<!-- The OG:Type dictates a number of other tags on posts. -->
<meta property="og:type" content="article" />
<meta property="article:published_time" content="{{page.date}}" /> <meta property="article:published_time" content="{{page.date}}" />
<!-- page.modified isn't a natural Jekyll property, but it can be added. --> <!-- page.modified isn't a natural Jekyll property, but it can be added. -->
@ -39,39 +36,18 @@
<meta property="article:modified_time" content="{{page.modified}}" /> <meta property="article:modified_time" content="{{page.modified}}" />
{% endif %} {% endif %}
<!-- Here my author and publisher tags are the same (yay self-publishing) -->
<meta property="article:author" content="{{ page.author }}" /> <meta property="article:author" content="{{ page.author }}" />
<!-- But if your site has its own page, this is where to put it. -->
<meta property="article:publisher" content="{{ page.author }}" /> <meta property="article:publisher" content="{{ page.author }}" />
<!-- Article section isn't a required property, but it can be good to have -->
<!-- <meta property="article:section" content="{{page.vertical}}" /> -->
<!-- I use the page.categories property for OG tags. --> <!-- I use the page.categories property for OG tags. -->
{% for tag in page.categories %} {% for tag in page.categories %}
<meta property="article:tag" content="{{tag}}" /> <meta property="article:tag" content="{{tag}}" />
{% endfor %} {% endfor %}
<!-- I prefer the summary_large_image Twitter card for posts. -->
<meta name="twitter:card" content="summary_large_image" />
<!-- You, you're the creator. -->
<meta name="twitter:creator" content="@xr-switzerland" />
<!-- This property is for the article title, not site title. -->
<meta name="twitter:title" content="{{page.title}}" />
{% else %}
<!-- OG data for homepage -->
<!-- <meta property="og:image" content="{{ site.baseurl }}/assets/img/logo-xr.png" /> -->
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{site.title}}" />
<!-- <meta name="twitter:image" content="{{site.baseurl}} {{ site.baseurl }}/assets/img/logo-xr.png" /> -->
{% endif %}
<!-- Theme CSS --> <!-- CSS -->
<!-- <link href="assets/css/index.css?{{site.time | date: '%Y%m%d%H%M%S'}}" rel="stylesheet"> -->
<link href="{{ site.baseurl }}/assets/css/index.css" rel="stylesheet"> <link href="{{ site.baseurl }}/assets/css/index.css" rel="stylesheet">
</head> </head>