Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
diffoscope-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
diffoscope-website
Commits
ed40af2d
Commit
ed40af2d
authored
4 years ago
by
Chris Lamb
Browse files
Options
Downloads
Patches
Plain Diff
Only include posts past a feed epoch to prevent spamming planets, etc.
parent
0e56f3c3
No related branches found
No related tags found
No related merge requests found
Pipeline
#141430
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_config.yml
+2
-0
2 additions, 0 deletions
_config.yml
feed.xml
+3
-1
3 additions, 1 deletion
feed.xml
with
5 additions
and
1 deletion
_config.yml
+
2
−
0
View file @
ed40af2d
...
...
@@ -5,4 +5,6 @@ url: https://diffoscope.org
baseurl
:
/
permalink
:
/news/:title/
feed_epoch
:
2020-05-20T00:00:00Z
salsa_url
:
https://salsa.debian.org/reproducible-builds/diffoscope
This diff is collapsed.
Click to expand it.
feed.xml
+
3
−
1
View file @
ed40af2d
...
...
@@ -11,13 +11,15 @@ layout: null
<pubDate>
{{ site.time | date_to_rfc822 }}
</pubDate>
<lastBuildDate>
{{ site.time | date_to_rfc822 }}
</lastBuildDate>
{% for post in site.posts limit:10 %}
{% if post.date > site.feed_epoch %}
<item>
<title>
{{ post.title | xml_escape }}
</title>
<title>
{{
timestamp }}{{
post.title | xml_escape }}
</title>
<description>
{{ post.content | xml_escape }}
</description>
<pubDate>
{{ post.date | date_to_rfc822 }}
</pubDate>
<link>
{{ post.url | absolute_url }}
</link>
<guid
isPermaLink=
"true"
>
{{ post.url | absolute_url }}
</guid>
</item>
{% endif %}
{% endfor %}
</channel>
</rss>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment