Skip to content

Commit 393e805

Browse files
committed
Update RSS
1 parent 56eea4b commit 393e805

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "project",
44
"description": "Documentation website for the Tempest framework",
55
"require": {
6-
"tempest/framework": "^2.3",
6+
"tempest/framework": "^2.3.1",
77
"league/commonmark": "^2.7.1",
88
"symfony/yaml": "^7.3.3",
99
"spatie/yaml-front-matter": "^2.1",

composer.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Web/Blog/rss.view.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
/** @var \App\Web\Blog\BlogPost[] $posts */
33
?>
44

5+
<?xml version="1.0" encoding="UTF-8"?>
56
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
67
<id>https://tempestphp.com/rss</id>
7-
<link rel="self" type="application/atom+xml" href="https://tempestphp.com/rss"/>
8+
<link rel="self" type="application/atom+xml" href="https://tempestphp.com/rss" />
89
<title>Tempest</title>
9-
<updated><?= date('c') ?></updated>
10+
<updated>{{ date('c') }}</updated>
1011
<entry :foreach="$posts as $post">
1112
<title><![CDATA[ {!! $post->title !!} ]]></title>
1213
<link rel="alternate" :href="$post->uri"/>

0 commit comments

Comments
 (0)