[01/05/23] added new jekyll plugins for read time, sitemap, seo and rss feed
This commit is contained in:
parent
547dfe4eb3
commit
e66097a7c6
6
Gemfile
6
Gemfile
@ -6,3 +6,9 @@ source "https://rubygems.org"
|
||||
|
||||
gem "jekyll", "~> 4.3"
|
||||
gem "jekyll-archives"
|
||||
gem "nokogiri"
|
||||
gem "liquid_reading_time"
|
||||
gem "liquid_pluralize"
|
||||
gem "jekyll-sitemap"
|
||||
gem "jekyll-seo-tag"
|
||||
gem "jekyll-feed"
|
||||
|
20
Gemfile.lock
20
Gemfile.lock
@ -33,8 +33,14 @@ GEM
|
||||
webrick (~> 1.7)
|
||||
jekyll-archives (2.2.1)
|
||||
jekyll (>= 3.6, < 5.0)
|
||||
jekyll-feed (0.17.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-sass-converter (3.0.0)
|
||||
sass-embedded (~> 1.54)
|
||||
jekyll-seo-tag (2.8.0)
|
||||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-sitemap (1.4.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
kramdown (2.4.0)
|
||||
@ -42,13 +48,21 @@ GEM
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
kramdown (~> 2.0)
|
||||
liquid (4.0.4)
|
||||
liquid_pluralize (1.0.3)
|
||||
liquid (>= 2.6, < 5.0)
|
||||
liquid_reading_time (1.1.3)
|
||||
liquid (>= 2.6, < 5.0)
|
||||
nokogiri (~> 1.6)
|
||||
listen (3.8.0)
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mercenary (0.4.0)
|
||||
nokogiri (1.14.3-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (5.0.1)
|
||||
racc (1.5.1)
|
||||
rake (13.0.6)
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.10.1)
|
||||
@ -70,6 +84,12 @@ PLATFORMS
|
||||
DEPENDENCIES
|
||||
jekyll (~> 4.3)
|
||||
jekyll-archives
|
||||
jekyll-feed
|
||||
jekyll-seo-tag
|
||||
jekyll-sitemap
|
||||
liquid_pluralize
|
||||
liquid_reading_time
|
||||
nokogiri
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.7
|
||||
|
@ -1,8 +1,13 @@
|
||||
plugins:
|
||||
- jekyll-archives
|
||||
- liquid_reading_time
|
||||
- liquid_pluralize
|
||||
- jekyll-sitemap
|
||||
- jekyll-seo-tag
|
||||
- jekyll-feed
|
||||
|
||||
permalink: pretty
|
||||
baseurl: "/"
|
||||
baseurl: "/andrewconl.in"
|
||||
url: "https://andrwcnln.github.io"
|
||||
|
||||
defaults:
|
||||
@ -20,7 +25,7 @@ defaults:
|
||||
values:
|
||||
permalink: til/:title/
|
||||
category: til
|
||||
layout: post
|
||||
layout: til-post
|
||||
|
||||
jekyll-archives:
|
||||
enabled:
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="{{ page.url }}">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
@ -2,13 +2,18 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
{% capture time %}{{ content | reading_time }}{% endcapture %}
|
||||
|
||||
{% assign categories = page.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
|
||||
{% assign tags = page.tags %}
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ page.date | date_to_string }} |
|
||||
<i class="fas fa-calendar"></i> {{ page.date | date_to_string }}
|
||||
|
|
||||
<i class="fas fa-clock"></i> {{ content | reading_time | pluralize: "minute" }}
|
||||
|
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <a class="text-decoration-none" style="color:{{category.textColor}}" href="/blog/category/{{ categories.first }}"><i class="fas fa-folder"></i> {{ categories.first }}</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
27
_layouts/til-post.html
Normal file
27
_layouts/til-post.html
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
{% assign categories = page.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
|
||||
{% assign tags = page.tags %}
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ page.date | date_to_string }}
|
||||
|
|
||||
<i class="fas fa-clock"></i> {{ content | reading_time | pluralize: "minute" }}
|
||||
|
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <a class="text-decoration-none" style="color:{{category.textColor}}" href="/til/"><i class="fas fa-folder"></i> {{ categories.first }}</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
{% for tag in tags %}
|
||||
<span style="background-color:#171717;color:white;font-family:Rubik;padding:3px;border-radius:10px;"><a class="text-decoration-none" href="/blog/tag/{{ tag }}">{{ tag }}</a></span>
|
||||
{% if tag != tags.last %}
|
||||
,
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
{{ content }}
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Musings on the power of cinema">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/blog/2023/01/14/musings-on-the-cinema/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -109,8 +107,13 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 14 Jan 2023 |
|
||||
<i class="fas fa-calendar"></i> 14 Jan 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 1 minute
|
||||
|
|
||||
<span style="background-color:#4d8;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/thoughts"><i class="fas fa-folder"></i> thoughts</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Yuri Felsen on love">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/blog/2023/03/05/yuri-felsen-on-love/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -109,8 +107,13 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 05 Mar 2023 |
|
||||
<i class="fas fa-calendar"></i> 05 Mar 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 1 minute
|
||||
|
|
||||
<span style="background-color:#c66;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/quotes"><i class="fas fa-folder"></i> quotes</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="A measure of how easily thoughts can be translated to action">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/blog/2023/03/10/putting-thoughts-into-action/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -109,8 +107,13 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 10 Mar 2023 |
|
||||
<i class="fas fa-calendar"></i> 10 Mar 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 2 minutes
|
||||
|
|
||||
<span style="background-color:#4d8;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/thoughts"><i class="fas fa-folder"></i> thoughts</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Links aren't performances">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/blog/2023/04/29/links-arent-performances/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -109,8 +107,13 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 29 Apr 2023 |
|
||||
<i class="fas fa-calendar"></i> 29 Apr 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 1 minute
|
||||
|
|
||||
<span style="background-color:#36b;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/links"><i class="fas fa-folder"></i> links</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="latest posts">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/blog/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
167
_site/feed.xml
Normal file
167
_site/feed.xml
Normal file
File diff suppressed because one or more lines are too long
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="about me">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
1
_site/robots.txt
Normal file
1
_site/robots.txt
Normal file
@ -0,0 +1 @@
|
||||
Sitemap: http://localhost:4000/sitemap.xml
|
108
_site/sitemap.xml
Normal file
108
_site/sitemap.xml
Normal file
@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/2023/01/14/musings-on-the-cinema/</loc>
|
||||
<lastmod>2023-01-14T00:00:00+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/til/nextcloud-php-errors/</loc>
|
||||
<lastmod>2023-03-01T00:00:00+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/2023/03/05/yuri-felsen-on-love/</loc>
|
||||
<lastmod>2023-03-05T00:00:00+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/2023/03/10/putting-thoughts-into-action/</loc>
|
||||
<lastmod>2023-03-10T00:00:00+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/til/running-python-in-cron-in-docker/</loc>
|
||||
<lastmod>2023-04-19T00:00:00+01:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/2023/04/29/links-arent-performances/</loc>
|
||||
<lastmod>2023-04-29T00:00:00+01:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/til/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/journal/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/cinema/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/film/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/php/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/nextcloud/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/docker/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/docker-compose/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/yuri-felsen/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/love/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/html/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/css/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/bootstrap/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/jekyll/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/webdev/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/cron/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/python/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/kindle/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/copyright/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/law/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/tag/pluralistic/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/category/thoughts/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/category/til/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/category/quotes/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/blog/category/links/</loc>
|
||||
</url>
|
||||
</urlset>
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="latest tils">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/til/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Fixing php errors in a Nextcloud docker-compose configuration">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/til/nextcloud-php-errors/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -110,8 +108,11 @@
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 01 Mar 2023 |
|
||||
<span style="background-color:#ed0;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/til"><i class="fas fa-folder"></i> til</a> </span>
|
||||
<i class="fas fa-calendar"></i> 01 Mar 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 2 minutes
|
||||
|
|
||||
<span style="background-color:#ed0;color:black;"> <a class="text-decoration-none" style="color:black" href="/til/"><i class="fas fa-folder"></i> til</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
||||
|
@ -4,9 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Running a Python script periodically in a Docker container using cron">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="/til/running-python-in-cron-in-docker/">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
@ -110,8 +108,11 @@
|
||||
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> 19 Apr 2023 |
|
||||
<span style="background-color:#ed0;color:black;"> <a class="text-decoration-none" style="color:black" href="/blog/category/til"><i class="fas fa-folder"></i> til</a> </span>
|
||||
<i class="fas fa-calendar"></i> 19 Apr 2023
|
||||
|
|
||||
<i class="fas fa-clock"></i> 3 minutes
|
||||
|
|
||||
<span style="background-color:#ed0;color:black;"> <a class="text-decoration-none" style="color:black" href="/til/"><i class="fas fa-folder"></i> til</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user