- remove jekyll-feed plugin because it hates people
- add news and announcement list pages - add extra example pages
This commit is contained in:
parent
842e1f4a11
commit
c62e326a7a
9 changed files with 81 additions and 21 deletions
|
|
@ -9,14 +9,14 @@ source "https://rubygems.org"
|
||||||
# Happy Jekylling!
|
# Happy Jekylling!
|
||||||
gem "jekyll", "~> 4.4.1"
|
gem "jekyll", "~> 4.4.1"
|
||||||
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
# 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
|
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
||||||
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
||||||
# gem "github-pages", group: :jekyll_plugins
|
# gem "github-pages", group: :jekyll_plugins
|
||||||
# If you have any plugins, put them here!
|
# If you have any plugins, put them here!
|
||||||
group :jekyll_plugins do
|
# group :jekyll_plugins do
|
||||||
gem "jekyll-feed", "~> 0.12"
|
# gem "jekyll-feed", "~> 0.12"
|
||||||
end
|
# end
|
||||||
|
|
||||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
# and associated library.
|
# and associated library.
|
||||||
|
|
|
||||||
|
|
@ -73,12 +73,8 @@ GEM
|
||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
terminal-table (>= 1.8, < 4.0)
|
terminal-table (>= 1.8, < 4.0)
|
||||||
webrick (~> 1.7)
|
webrick (~> 1.7)
|
||||||
jekyll-feed (0.17.0)
|
|
||||||
jekyll (>= 3.7, < 5.0)
|
|
||||||
jekyll-sass-converter (3.1.0)
|
jekyll-sass-converter (3.1.0)
|
||||||
sass-embedded (~> 1.75)
|
sass-embedded (~> 1.75)
|
||||||
jekyll-seo-tag (2.8.0)
|
|
||||||
jekyll (>= 3.8, < 5.0)
|
|
||||||
jekyll-watch (2.2.1)
|
jekyll-watch (2.2.1)
|
||||||
listen (~> 3.0)
|
listen (~> 3.0)
|
||||||
json (2.12.2)
|
json (2.12.2)
|
||||||
|
|
@ -91,10 +87,6 @@ GEM
|
||||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||||
rb-inotify (~> 0.9, >= 0.9.10)
|
rb-inotify (~> 0.9, >= 0.9.10)
|
||||||
mercenary (0.4.0)
|
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)
|
pathutil (0.16.2)
|
||||||
forwardable-extended (~> 2.6)
|
forwardable-extended (~> 2.6)
|
||||||
public_suffix (6.0.2)
|
public_suffix (6.0.2)
|
||||||
|
|
@ -165,8 +157,6 @@ PLATFORMS
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
http_parser.rb (~> 0.6.0)
|
http_parser.rb (~> 0.6.0)
|
||||||
jekyll (~> 4.4.1)
|
jekyll (~> 4.4.1)
|
||||||
jekyll-feed (~> 0.12)
|
|
||||||
minima (~> 2.5)
|
|
||||||
tzinfo (>= 1, < 3)
|
tzinfo (>= 1, < 3)
|
||||||
tzinfo-data
|
tzinfo-data
|
||||||
wdm (~> 0.1)
|
wdm (~> 0.1)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
title: linuxposting.xyz
|
title: linuxposting.xyz
|
||||||
description: >-
|
description: >-
|
||||||
Linux users having fun i guess...
|
Linux users having fun i guess...
|
||||||
|
|
@ -11,10 +10,6 @@ defaults:
|
||||||
title: "linuxposting.xyz"
|
title: "linuxposting.xyz"
|
||||||
headline: "linuxposting.xyz"
|
headline: "linuxposting.xyz"
|
||||||
|
|
||||||
# Build settings
|
|
||||||
plugins:
|
|
||||||
- jekyll-feed
|
|
||||||
|
|
||||||
collections_dir: articles
|
collections_dir: articles
|
||||||
collections:
|
collections:
|
||||||
news:
|
news:
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
<h5>Announcements</h5>
|
<h5>Announcements</h5>
|
||||||
{% for announcement in site.announce %}
|
{% for announcement in site.announce %}
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ announcement.url }}">{{ announcement.title }}</a>
|
<a href="{{ announcement.url }}">{{ announcement.headline }}</a>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>No announcements available at the moment.</p>
|
<p>No announcements available at the moment.</p>
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
<h5>NEWS NEWS NEWS</h5>
|
<h5>NEWS NEWS NEWS</h5>
|
||||||
{% for article in site.news %}
|
{% for article in site.news %}
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ article.url }}">{{ article.title }}</a>
|
<a href="{{ article.url }}">{{ article.headline }}</a>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>No news articles available at the moment.</p>
|
<p>No news articles available at the moment.</p>
|
||||||
|
|
|
||||||
7
website/articles/_announce/2025-07-16-test copy 2.md
Normal file
7
website/articles/_announce/2025-07-16-test copy 2.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: ing
|
||||||
|
headline: inesting
|
||||||
|
description: intestine
|
||||||
|
---
|
||||||
|
|
||||||
|
# TEST yourself
|
||||||
7
website/articles/_announce/2025-07-16-test copy 3.md
Normal file
7
website/articles/_announce/2025-07-16-test copy 3.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: ing
|
||||||
|
headline: Local evil boy is evil
|
||||||
|
description: intestine
|
||||||
|
---
|
||||||
|
|
||||||
|
# TEST yourself
|
||||||
7
website/articles/_announce/2025-07-16-test copy.md
Normal file
7
website/articles/_announce/2025-07-16-test copy.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: ing
|
||||||
|
headline: inesting
|
||||||
|
description: intestine
|
||||||
|
---
|
||||||
|
|
||||||
|
# TEST yourself
|
||||||
27
website/articles/announcements.html
Normal file
27
website/articles/announcements.html
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
permalink: /announcements.html
|
||||||
|
title: Announcements
|
||||||
|
layout: default
|
||||||
|
headline: Announcements
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>Announcements from linuxposting.xyz will appear below</p>
|
||||||
|
|
||||||
|
<h2>Recent announcements</h2>
|
||||||
|
|
||||||
|
{% if site.announce.size > 0 %}
|
||||||
|
<table class="mainnewslist">
|
||||||
|
{% for post in site.announce %}
|
||||||
|
<tr class="mainnewsitem">
|
||||||
|
<td class="mn_title">
|
||||||
|
<a href="{{ post.url | relative_url }}">{{ post.headline }}</a>
|
||||||
|
</td>
|
||||||
|
<td class="mn_date">
|
||||||
|
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%Y-%m-%d" }}</time>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
{% else %}
|
||||||
|
<p>No announcements yet.</p>
|
||||||
|
{% endif %}
|
||||||
27
website/articles/news.html
Normal file
27
website/articles/news.html
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
permalink: /news.html
|
||||||
|
title: News
|
||||||
|
headline: News
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>News from linuxposting.xyz will appear below</p>
|
||||||
|
|
||||||
|
<h2>Recent headlines</h2>
|
||||||
|
|
||||||
|
{% if site.news.size > 0 %}
|
||||||
|
<table class="mainnewslist">
|
||||||
|
{% for post in site.news %}
|
||||||
|
<tr class="mainnewsitem">
|
||||||
|
<td class="mn_title">
|
||||||
|
<a href="{{ post.url | relative_url }}">{{ post.headline }}</a>
|
||||||
|
</td>
|
||||||
|
<td class="mn_date">
|
||||||
|
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%Y-%m-%d" }}</time>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
{% else %}
|
||||||
|
<p>No announcements yet.</p>
|
||||||
|
{% endif %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue