a
This commit is contained in:
parent
b214833c16
commit
9a43ab0c01
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php /* Copyright (c) 2024 Freya Murphy */ ?>
|
<?php /* Copyright (c) 2024 Freya Murphy */ ?>
|
||||||
<?=aria_section('blog', lang('title'))?>
|
<?=aria_section('blog', lang('title'))?>
|
||||||
<p><?=lang('blog_desc')?></p>
|
<p><?=lang('blog_desc', sub: [$this->main->get_url('rss.xml')])?></p>
|
||||||
<?php
|
<?php
|
||||||
foreach($blog as $name => $post) {
|
foreach($blog as $name => $post) {
|
||||||
$meta = $post['meta'];
|
$meta = $post['meta'];
|
||||||
|
|
|
@ -6,5 +6,6 @@ $routes[''] = 'home';
|
||||||
$routes['robots.txt'] = '_meta/robots';
|
$routes['robots.txt'] = '_meta/robots';
|
||||||
$routes['sitemap.xml'] = '_meta/sitemap';
|
$routes['sitemap.xml'] = '_meta/sitemap';
|
||||||
$routes['manifest.json'] = '_meta/manifest';
|
$routes['manifest.json'] = '_meta/manifest';
|
||||||
|
$routes['rss.xml'] = 'blog/rss';
|
||||||
|
|
||||||
$serviceable = array('bucket');
|
$serviceable = array('bucket');
|
||||||
|
|
|
@ -4,7 +4,7 @@ $lang['title'] = 'Blog';
|
||||||
$lang['posted'] = 'posted';
|
$lang['posted'] = 'posted';
|
||||||
|
|
||||||
$lang['blog_short_desc'] = 'I post things here sometimes';
|
$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['comments'] = 'Comments';
|
||||||
$lang['no_comments'] = 'No comments';
|
$lang['no_comments'] = 'No comments';
|
||||||
|
|
Loading…
Reference in a new issue