Skip to content

Commit 2c251ef

Browse files
authored
Feat: add a blog feed (#202)
2 parents 70a9220 + 20a28cd commit 2c251ef

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
source "https://rubygems.org"
22

33
gem "jekyll", "~> 4.3.3"
4+
gem "jekyll-feed"
45
gem "jekyll-sass-converter", "2.2.0"

Gemfile.lock

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ GEM
3030
safe_yaml (~> 1.0)
3131
terminal-table (>= 1.8, < 4.0)
3232
webrick (~> 1.7)
33+
jekyll-feed (0.17.0)
34+
jekyll (>= 3.7, < 5.0)
3335
jekyll-sass-converter (2.2.0)
3436
sassc (> 2.0.1, < 3.0)
3537
jekyll-watch (2.2.1)
@@ -68,6 +70,7 @@ PLATFORMS
6870

6971
DEPENDENCIES
7072
jekyll (~> 4.3.3)
73+
jekyll-feed
7174
jekyll-sass-converter (= 2.2.0)
7275

7376
BUNDLED WITH

_config.yml

+11
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,15 @@ collections:
55
posts:
66
output: true
77
permalink: /blog/:year/:title:output_ext
8+
description: |
9+
Software built by humans, for humans, in LA.
10+
Compiler is a woman-owned software consultancy that’s passionate about making
11+
government tech solutions easy-to-use and accessible for all.
12+
feed:
13+
excerpt_only: true
14+
path: /blog/feed.xml
15+
plugins:
16+
- jekyll-feed
817
source: ./src
18+
title: Compiler
19+
url: https://compiler.la

src/_layouts/default.html

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
<link rel="icon" href="/icon.svg" type="image/svg+xml">
3030
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
3131

32+
{% feed_meta %}
33+
3234
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
3335
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
3436
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"

0 commit comments

Comments
 (0)