From c62e326a7a36228578acfbb8421c10cad71a6e05 Mon Sep 17 00:00:00 2001 From: D-u-c-k-s-e-l <98615937+D-u-c-k-s-e-l@users.noreply.github.com> Date: Sun, 20 Jul 2025 16:47:13 -0500 Subject: [PATCH] - remove jekyll-feed plugin because it hates people - add news and announcement list pages - add extra example pages --- website/Gemfile | 8 +++--- website/Gemfile.lock | 10 ------- website/_config.yml | 5 ---- website/_layouts/default.html | 4 +-- .../_announce/2025-07-16-test copy 2.md | 7 +++++ .../_announce/2025-07-16-test copy 3.md | 7 +++++ .../_announce/2025-07-16-test copy.md | 7 +++++ website/articles/announcements.html | 27 +++++++++++++++++++ website/articles/news.html | 27 +++++++++++++++++++ 9 files changed, 81 insertions(+), 21 deletions(-) create mode 100644 website/articles/_announce/2025-07-16-test copy 2.md create mode 100644 website/articles/_announce/2025-07-16-test copy 3.md create mode 100644 website/articles/_announce/2025-07-16-test copy.md create mode 100644 website/articles/announcements.html create mode 100644 website/articles/news.html diff --git a/website/Gemfile b/website/Gemfile index 395750a..5826ea6 100644 --- a/website/Gemfile +++ b/website/Gemfile @@ -9,14 +9,14 @@ source "https://rubygems.org" # Happy Jekylling! gem "jekyll", "~> 4.4.1" # This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.5" +# gem "minima", "~> 2.5" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. # gem "github-pages", group: :jekyll_plugins # If you have any plugins, put them here! -group :jekyll_plugins do - gem "jekyll-feed", "~> 0.12" -end +# group :jekyll_plugins do +# gem "jekyll-feed", "~> 0.12" +# end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library. diff --git a/website/Gemfile.lock b/website/Gemfile.lock index a29020b..c930c21 100644 --- a/website/Gemfile.lock +++ b/website/Gemfile.lock @@ -73,12 +73,8 @@ GEM safe_yaml (~> 1.0) terminal-table (>= 1.8, < 4.0) webrick (~> 1.7) - jekyll-feed (0.17.0) - jekyll (>= 3.7, < 5.0) jekyll-sass-converter (3.1.0) sass-embedded (~> 1.75) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) json (2.12.2) @@ -91,10 +87,6 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - minima (2.5.2) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (6.0.2) @@ -165,8 +157,6 @@ PLATFORMS DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.4.1) - jekyll-feed (~> 0.12) - minima (~> 2.5) tzinfo (>= 1, < 3) tzinfo-data wdm (~> 0.1) diff --git a/website/_config.yml b/website/_config.yml index 3bde1ac..ecf4cf9 100644 --- a/website/_config.yml +++ b/website/_config.yml @@ -1,4 +1,3 @@ - title: linuxposting.xyz description: >- Linux users having fun i guess... @@ -11,10 +10,6 @@ defaults: title: "linuxposting.xyz" headline: "linuxposting.xyz" -# Build settings -plugins: - - jekyll-feed - collections_dir: articles collections: news: diff --git a/website/_layouts/default.html b/website/_layouts/default.html index 42e4731..0c8e1b2 100644 --- a/website/_layouts/default.html +++ b/website/_layouts/default.html @@ -73,7 +73,7 @@
- {{ announcement.title }} + {{ announcement.headline }}
{% else %}No announcements available at the moment.
@@ -89,7 +89,7 @@- {{ article.title }} + {{ article.headline }}
{% else %}No news articles available at the moment.
diff --git a/website/articles/_announce/2025-07-16-test copy 2.md b/website/articles/_announce/2025-07-16-test copy 2.md new file mode 100644 index 0000000..e160627 --- /dev/null +++ b/website/articles/_announce/2025-07-16-test copy 2.md @@ -0,0 +1,7 @@ +--- +title: ing +headline: inesting +description: intestine +--- + +# TEST yourself \ No newline at end of file diff --git a/website/articles/_announce/2025-07-16-test copy 3.md b/website/articles/_announce/2025-07-16-test copy 3.md new file mode 100644 index 0000000..1659bbd --- /dev/null +++ b/website/articles/_announce/2025-07-16-test copy 3.md @@ -0,0 +1,7 @@ +--- +title: ing +headline: Local evil boy is evil +description: intestine +--- + +# TEST yourself \ No newline at end of file diff --git a/website/articles/_announce/2025-07-16-test copy.md b/website/articles/_announce/2025-07-16-test copy.md new file mode 100644 index 0000000..e160627 --- /dev/null +++ b/website/articles/_announce/2025-07-16-test copy.md @@ -0,0 +1,7 @@ +--- +title: ing +headline: inesting +description: intestine +--- + +# TEST yourself \ No newline at end of file diff --git a/website/articles/announcements.html b/website/articles/announcements.html new file mode 100644 index 0000000..e737ec9 --- /dev/null +++ b/website/articles/announcements.html @@ -0,0 +1,27 @@ +--- +permalink: /announcements.html +title: Announcements +layout: default +headline: Announcements +--- + +Announcements from linuxposting.xyz will appear below
+ +| + {{ post.headline }} + | ++ + | +
No announcements yet.
+{% endif %} \ No newline at end of file diff --git a/website/articles/news.html b/website/articles/news.html new file mode 100644 index 0000000..d508fe0 --- /dev/null +++ b/website/articles/news.html @@ -0,0 +1,27 @@ +--- +permalink: /news.html +title: News +headline: News +layout: default +--- + +News from linuxposting.xyz will appear below
+ +| + {{ post.headline }} + | ++ + | +
No announcements yet.
+{% endif %} \ No newline at end of file