mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Corrected tag name
all_tagged_posts instead of all_posts_tagged Rest all language sections being corrected at end after rest of the changes.
This commit is contained in:
parent
19764da011
commit
294bab39bc
1 changed files with 2 additions and 2 deletions
|
|
@ -3001,7 +3001,7 @@ get('/tag/:tag', function ($tag) {
|
|||
$ttag->title = tag_i18n($tag);
|
||||
$ttag->url = site_url() . 'tag/' . strtolower($tag);
|
||||
$ttag->count = $total;
|
||||
$ttag->description = i18n('All_posts_tagged') . ' ' . tag_i18n($tag) . ' ' . i18n('by') . ' ' . blog_title();
|
||||
$ttag->description = i18n('All_tagged_posts') . ' ' . tag_i18n($tag) . ' ' . i18n('by') . ' ' . blog_title();
|
||||
$ttag->body = $ttag->description;
|
||||
|
||||
if (empty($posts) || $page < 1) {
|
||||
|
|
@ -3055,7 +3055,7 @@ get('/tag/:tag/feed', function ($tag) {
|
|||
$data = new stdClass;
|
||||
$data->title = tag_i18n($tag);
|
||||
$data->url = site_url() . 'tag/' . strtolower($tag);
|
||||
$data->body = i18n('All_posts_tagged') . ' ' . tag_i18n($tag) . ' ' . i18n('by') . ' ' . blog_title();
|
||||
$data->body = i18n('All_tagged_posts') . ' ' . tag_i18n($tag) . ' ' . i18n('by') . ' ' . blog_title();
|
||||
|
||||
// Show an RSS feed
|
||||
echo generate_rss($posts, $data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue