Skip to content

Commit

Permalink
Add rss feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Olsen Sandvik authored and patricia-gallardo committed May 22, 2024
1 parent cc6a833 commit 03aeeb4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ gem 'jekyll-mentions'
gem 'jekyll-feed'
gem 'jekyll-paginate'
gem "jekyll-redirect-from"
gem "webrick", "~> 1.8"
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ GEM
mercenary (0.4.0)
minitest (5.15.0)
multipart-post (2.1.1)
nokogiri (1.13.10-arm64-darwin)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux)
racc (~> 1.4)
octokit (4.21.0)
Expand All @@ -109,8 +111,10 @@ GEM
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand All @@ -121,6 +125,7 @@ DEPENDENCIES
jekyll-paginate
jekyll-redirect-from
jekyll-sitemap
webrick (~> 1.8)

BUNDLED WITH
2.2.16
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ google_analytics:

plugins:
- jekyll-redirect-from
- jekyll-feed

whitelist:
- jekyll-redirect-from

# The following settings are NECESSARY for the Prologue theme to run:
# theme: jekyll-theme-prologue
collections: [sections]
collections: [sections]
11 changes: 7 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{%- if site.google_analytics and jekyll.environment == 'production' -%}
{%- include google_analytics.html -%}
{%- endif -%}

<!-- Robots -->
<meta name="robots" content="{{- page.robots | default: 'index, follow' -}}" />
{%- unless page.canonical == false -%}<link rel="canonical" href="{{- page.url | absolute_url -}}" />{%- endunless -%}

<!-- Title, description, author -->
{%- capture _page_title -%}
{%- if page.title -%}{{- page.title | append: ' | ' -}}{%- endif -%}
Expand All @@ -32,7 +32,7 @@
<meta name="twitter:description" content="{{- _page_description -}}" />
<meta name="twitter:url" content="{{- page.url | absolute_url -}}" />
<meta name="twitter:image" content="{{- site.url -}}{{- _page_image -}}" />

<!-- Open Graph -->
<meta property="og:title" content="{{- _page_title -}}" />
<meta property="og:type" content="website" />
Expand All @@ -48,7 +48,7 @@
<link rel="manifest" href="{{ "/assets/icon/manifest.json" | absolute_url }}">
<link rel="shortcut icon" href="{{ "/assets/icon/favicon.ico" | absolute_url }}">
<link rel="icon" type="image/png" href="{{- 'assets/icon/pati-263x263.png' | relative_url -}}" />

<!-- Mastodon -->
<link rel="me" href="https://mastodon.social/@patricia" />
<link rel="me" href="https://infosec.exchange/@patricia" />
Expand All @@ -74,4 +74,7 @@

<!-- PWA -->
<meta name="theme-color" content="#ffffff"/>

<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="Patricia Aas" href="https://patricia.no/feed.xml">
</head>

0 comments on commit 03aeeb4

Please sign in to comment.