Skip to content

Add RSS feeds (again!) #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_site
.jekyll-metadata
.jekyll-cache
.DS_Store
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.3.2"
gem "jekyll-feed"
73 changes: 73 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0-x86_64-darwin)
forwardable-extended (2.6.0)
google-protobuf (3.25.5-x86_64-darwin)
http_parser.rb (0.8.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
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.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.69.5-x86_64-darwin)
google-protobuf (~> 3.23)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.0)

PLATFORMS
x86_64-darwin-20

DEPENDENCIES
jekyll (~> 4.3.2)
jekyll-feed

BUNDLED WITH
2.4.19
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ future: true
safe: false

exclude: [README.md]

plugins:
- jekyll-feed

feed:
posts_limit: 20
categories:
- news
- changelogs
- lenslist
10 changes: 9 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
<div id="footer">
This site has been generated with <a href="http://jekyllrb.com/">Jekyll</a>.
<p>This site has been generated with <a href="http://jekyllrb.com/">Jekyll</a>.</p>
<p>RSS Feeds:
<ul>
<li><a href="/feed/news.xml">News</a></li>
<li><a href="/feed/changelogs.xml">Changelogs</a></li>
<li><a href="/feed/lenslist.xml">Lens List</a></li>
</ul>
</p>
</div>

<div style="clear:both"></div>

</body>

</html>
6 changes: 5 additions & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>{{ site.name }}</title>
<meta name="description" content="{{ site.description }}">
<link rel="stylesheet" type="text/css" href="/styles.css" title="lensfuntheme">
<link rel="alternate" type="application/rss+xml" title="News - Lensfun" href="https://lensfun.github.io/feed/news.xml">
<link rel="alternate" type="application/rss+xml" title="Changelogs - Lensfun" href="https://lensfun.github.io/feed/changelogs.xml">
<link rel="alternate" type="application/rss+xml" title="Lens List - Lensfun" href="https://lensfun.github.io/feed/lenslist.xml">
</head>
36 changes: 23 additions & 13 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
{% include header.html %}
<body>

<div id="container">
<div id="logo">
<a href="https://lensfun.github.io/"><img src="/imgs/logo.png" alt="Lensfun Logo"/></a>
</div>
{% include top-navigation.html %}
{% include navigation.html %}
<body>

<div id="content">
<h1>{{page.title}}</h1>
<div id="container">
<div id="logo">
<a href="https://lensfun.github.io/"><img src="/imgs/logo.png" alt="Lensfun Logo" /></a>
</div>
{% include top-navigation.html %}
{% include navigation.html %}

{{content}}
</div>
<div id="content">
<header style="display: flex; justify-content: space-between; align-items: center;">
<h1>{{page.title}}</h1>
{% if page.feedlink %}
<a href="{{ page.feedlink }}" title="RSS Feed">
<svg aria-label="RSS Feed" focusable="false" width="24" height="24" viewBox="0 0 24 24">
<use xlink:href="/imgs/rss-fill.svg#rss-fill"></use>
</svg>
</a>
{% endif %}
</header>
<main>
{{content}}
</div>

<br style="clear:both"/>
<br style="clear:both" />

{% include footer.html %}
{% include footer.html %}
2 changes: 1 addition & 1 deletion _posts/changelogs/2013-10-20-Release-0.2.8-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for release 0.2.8
layout: default
category: changelog
category: changelogs
---

Another minor maintenance release. Most fixes were related to the build system.
Expand Down
2 changes: 1 addition & 1 deletion _posts/changelogs/2014-09-30-Release-0.3.0-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for release 0.3.0
layout: default
category: changelog
category: changelogs
---

* Streamlined the names of Nikkor, Tamron, Tokina, Panasonic, Leica, Olympus,
Expand Down
2 changes: 1 addition & 1 deletion _posts/changelogs/2015-05-10-Release-0.3.1-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for release 0.3.1
layout: default
category: changelog
category: changelogs
---

* Improved performance when used with 32-bit float image buffers.
Expand Down
2 changes: 1 addition & 1 deletion _posts/changelogs/2015-11-16-Release-0.3.2-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for release 0.3.2
layout: default
category: changelog
category: changelogs
---

* Incremented binary version number
Expand Down
2 changes: 1 addition & 1 deletion _posts/changelogs/2018-06-29-Release-0.3.95-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for alpha release 0.3.95
layout: default
category: changelog
category: changelogs
---

__NOTE:__ This is an alpha release and snapshot of the current development. During the last years, major parts of lensfun's internals have been restructured and refactored to make Lensfun ready for the future. We believe many things have been improved and we tackled some issues that have been discussed for a long time. However, nothing is perfect. We highly encourage all users of Lensfun to try this alpha version, help us to improve whatever is necessary and get a stable release, soon. An up-to-date list of open issues and discussion points can be found in the [Wiki at Sourceforge](https://sourceforge.net/p/lensfun/wiki/Release%20schedule/).
Expand Down
2 changes: 1 addition & 1 deletion _posts/changelogs/2022-02-22-Release-0.3.3-Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Changelog for release 0.3.3
layout: default
category: changelog
category: changelogs
---

New maintenance release for the 0.3.x branch. Includes all new cameras and lenses up to commit 75f41548ba6bb2a02de215f3b3512afc418c2c5b (Tue Feb 22 17:11:53 2022 +0000).
Expand Down
1 change: 1 addition & 0 deletions imgs/rss-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lenslist.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Supported Lenses
linktitle: Supported Lenses
layout: default
weight: 4
feedlink: /feed/lenslist.xml
---

{% for post in site.categories.lenslist limit: 1%}
Expand Down
1 change: 1 addition & 0 deletions news.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: News
linktitle: News
layout: default
weight: 2
feedlink: /feed/news.xml
---

{% for post in site.categories.news %}
Expand Down