diff --git a/main/.htaccess b/main/.htaccess index 8aabd74..46bc751 100644 --- a/main/.htaccess +++ b/main/.htaccess @@ -14,7 +14,7 @@ RewriteBase / RewriteRule ^blog-(.*)$ "https://ellpeck.de/blog/$1" [R=301,L] RewriteRule ^minecraft-stuff/?$ "https://ellpeck.de/projects" [R=301,L] RewriteRule ^mc/?$ "https://ellpeck.de/projects" [R=301,L] -RewriteRule ^press/?(.*)$ "https://press.ellpeck.de/$1" [R=301,L] +RewriteRule ^press(/.*)?$ "https://press.ellpeck.de$1" [R=301,L] RewriteRule ^tinylife/?$ "https://tinylifegame.com" [R=301,L] RewriteRule ^foefrenzy/?$ "https://store.steampowered.com/app/1194170/" [R=301,L] diff --git a/main/Gemfile b/main/Gemfile index 4989be4..3874491 100644 --- a/main/Gemfile +++ b/main/Gemfile @@ -6,3 +6,4 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } gem "jekyll" gem "webrick" +gem 'jekyll-feed' diff --git a/main/Gemfile.lock b/main/Gemfile.lock index e6c1fc8..c40f3aa 100644 --- a/main/Gemfile.lock +++ b/main/Gemfile.lock @@ -29,6 +29,8 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 2.0) + jekyll-feed (0.15.1) + jekyll (>= 3.7, < 5.0) jekyll-sass-converter (2.1.0) sassc (> 2.0.1, < 3.0) jekyll-watch (2.2.1) @@ -63,6 +65,7 @@ PLATFORMS DEPENDENCIES jekyll + jekyll-feed webrick BUNDLED WITH diff --git a/main/_config.yaml b/main/_config.yaml index a98a49e..09729ed 100644 --- a/main/_config.yaml +++ b/main/_config.yaml @@ -1,4 +1,9 @@ permalink: blog/:title + +plugins: + - jekyll-feed + +# markdown formatting kramdown: header_offset: 1 typographic_syms: @@ -7,3 +12,11 @@ kramdown: ndash: -- laquo: "<<" raquo: ">>" + +# atom feed information +url: https://ellpeck.de +title: Ellpeck.de +description: Ellpeck's little internet place +author: Ellpeck +feed: + posts_limit: 100 \ No newline at end of file diff --git a/main/_includes/blog.html b/main/_includes/blog.html index e7a5d61..e44de90 100644 --- a/main/_includes/blog.html +++ b/main/_includes/blog.html @@ -8,8 +8,8 @@
This is my blog, where I post about gaming, programming and life. The featured posts are the ones you'll probably be most interested in, but you can select a different category to see every post.
-
Please be advised that some posts, especially short stories, may contain mature content.
๐ฐ You can also subscribe to this blog through the Atom Feed.
This post has been archived.
+๐ง This post has been archived.
+ {% endif %} + + {% if page.mature %} +โ ๏ธ This post contains mature content.
{% endif %} {% if page.reedsy %} -This story was inspired by a Reedsy Prompt and submitted to their competition. As such, it has also been published on their website.
+๐ This story was inspired by a Reedsy Prompt and submitted to their competition. As such, it has also been published on their website.
{% endif %}