diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-04 15:13:41 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-02-04 15:13:48 +0100 |
| commit | 6e809c4e71f8aba442adb058695a60555803ea60 (patch) | |
| tree | da80426e3bd8bfc6e031e8f8727e161f80d068cc /backend/templates/base.html | |
| parent | 80adfde3c830f734eb186a294f9d856c2df81593 (diff) | |
feat(style): dynamically handle navbar
remove twitter card in head
Diffstat (limited to 'backend/templates/base.html')
| -rw-r--r-- | backend/templates/base.html | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html index 548304e..8ed6802 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -20,19 +20,16 @@ {{ if ne .PubDate "" }} <meta name="article:published_time" content="{{ .PubDate }}" /> {{ end }} - <!-- Twitter --> - <meta name="twitter:card" content="summary_large_image" /> - <meta name="twitter:domain" content="{{ .Domain }}" /> - <meta name="twitter:url" content="https://{{ .Domain }}{{ .URL }}" /> - <meta name="twitter:title" content="{{ .Title }}" /> - <meta name="twitter:description" content="{{ .PageDescription }}" /> - <meta name="twitter:image" content="{{ fullStatic .Image }}" /> </head> <body> <header> <img src="{{ static .Logo.Header }}" alt="Logo" /> {{ $url := .URL }} - <nav>{{ range .Links }}{{ .Render $url }}{{ end }}</nav> + <nav> + <ul> + {{ range .Links }}<li>{{ .Render $url }}</li>{{ end }} + </ul> + </nav> </header> {{ template "body" . }} <footer> |
