diff options
Diffstat (limited to '')
| -rw-r--r-- | src/web/_views/apps/blog.php | 2 | ||||
| -rw-r--r-- | src/web/config/routes.php | 1 | ||||
| -rw-r--r-- | src/web/lang/apps/blog.php | 2 | 
3 files changed, 3 insertions, 2 deletions
diff --git a/src/web/_views/apps/blog.php b/src/web/_views/apps/blog.php index e8908e6..7290f0e 100644 --- a/src/web/_views/apps/blog.php +++ b/src/web/_views/apps/blog.php @@ -1,6 +1,6 @@  <?php /* Copyright (c) 2024 Freya Murphy */ ?>  <?=aria_section('blog', lang('title'))?> -	<p><?=lang('blog_desc')?></p> +	<p><?=lang('blog_desc', sub: [$this->main->get_url('rss.xml')])?></p>  	<?php  		foreach($blog as $name => $post) {  			$meta = $post['meta']; diff --git a/src/web/config/routes.php b/src/web/config/routes.php index cb78a72..0b1cc3a 100644 --- a/src/web/config/routes.php +++ b/src/web/config/routes.php @@ -6,5 +6,6 @@ $routes[''] = 'home';  $routes['robots.txt'] = '_meta/robots';  $routes['sitemap.xml'] = '_meta/sitemap';  $routes['manifest.json'] = '_meta/manifest'; +$routes['rss.xml'] = 'blog/rss';  $serviceable = array('bucket'); diff --git a/src/web/lang/apps/blog.php b/src/web/lang/apps/blog.php index d860a8a..5ac766c 100644 --- a/src/web/lang/apps/blog.php +++ b/src/web/lang/apps/blog.php @@ -4,7 +4,7 @@ $lang['title'] = 'Blog';  $lang['posted'] = 'posted';  $lang['blog_short_desc'] = 'I post things here sometimes'; -$lang['blog_desc'] = 'This is my blog! You can read the posts listed here, or you can find them on my <a href="blog/rss">RSS</a> feed.'; +$lang['blog_desc'] = 'This is my blog! You can read the posts listed here, or you can find them on my <a href="%s">RSS</a> feed.';  $lang['comments'] = 'Comments';  $lang['no_comments'] = 'No comments';  |