aboutsummaryrefslogtreecommitdiff
path: root/pkg/tpl/layout.templ
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tpl/layout.templ')
-rw-r--r--pkg/tpl/layout.templ8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/tpl/layout.templ b/pkg/tpl/layout.templ
index c777457..d96aa50 100644
--- a/pkg/tpl/layout.templ
+++ b/pkg/tpl/layout.templ
@@ -10,9 +10,13 @@ templ Layout(params HeaderParams) {
<link rel="stylesheet" href="/css/pico.css"/>
<link rel="stylesheet" href="/css/style.css"/>
<link rel="stylesheet" href="/css/fork-awesome.min.css"/>
+ <link rel="alternate" type="application/rss+xml" title="RSS feed" href="/feed/rss">
+ <link rel="alternate" type="application/atom+xml" title="ATOM feed" href="/feed/atom">
+ <link rel="alternate" type="application/json" title="json feed" href="/feed/json">
<meta property="og:title" content={ params.Title }/>
<meta property="og:url" content={ params.URL }/>
<meta property="og:description" content={ params.Description }/>
+ <meta name="yandex-verification" content="ee0e23da00ce9fe4" />
<title>ШОргРу</title>
</head>
<body>
@@ -21,9 +25,11 @@ templ Layout(params HeaderParams) {
<ul>
<li><a href="/"><strong>ШОргРу</strong></a></li>
</ul>
- <ul>
+ <ul hx-boost="true" hx-indicator=".loader">
+ <span aria-busy="true" class="loader htmx-indicator">Загрузка...</span>
<li><a href="/">Главная</a></li>
<li><a href="/random">Случайные</a></li>
+ <li><a href="/top">Топ</a></li>
<li><a href="/add">Добавить цитату</a></li>
</ul>
</nav>