diff --git a/components/head.latte b/components/head.latte index baefa68..082b50b 100644 --- a/components/head.latte +++ b/components/head.latte @@ -5,6 +5,9 @@ + {if isset($has_rss)} + + {/if} {$title} - ProxiTok diff --git a/components/themes/common/controls.latte b/components/themes/common/controls.latte index bb0aad5..9fd801c 100644 --- a/components/themes/common/controls.latte +++ b/components/themes/common/controls.latte @@ -1,8 +1,7 @@
{* is_numeric is used to avoid having a back button with ttwid cursors *} - {if isset($_GET['cursor']) && is_numeric($_GET['cursor']) && $_GET['cursor'] != 0 } + {if isset($_GET['cursor']) && is_numeric($_GET['cursor']) && $_GET['cursor'] != 0} First - Back {/if} Next
diff --git a/views/tag.latte b/views/tag.latte index 82853b2..55622ed 100644 --- a/views/tag.latte +++ b/views/tag.latte @@ -1,5 +1,7 @@ {layout '../layouts/default.latte'} +{var $has_rss = true} + {block header} {if $data->info->detail->profileThumb !== ''}
diff --git a/views/trending.latte b/views/trending.latte index aaa8a29..aca608c 100644 --- a/views/trending.latte +++ b/views/trending.latte @@ -1,5 +1,7 @@ {layout '../layouts/default.latte'} +{var $has_rss = true} + {block header}

Trending

{include '../components/rss.latte'}

diff --git a/views/user.latte b/views/user.latte index 2eb68b7..2f49c3b 100644 --- a/views/user.latte +++ b/views/user.latte @@ -1,5 +1,7 @@ {layout '../layouts/default.latte'} +{var $has_rss = true} + {block header}