da5b40d168
- First (pinned) post on mobile: title and image centered - Pagination: restored page counter on mobile, buttons above footer - Typography and layout minor improvements Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
62 lines
3.4 KiB
HTML
Executable File
62 lines
3.4 KiB
HTML
Executable File
<!DOCTYPE HTML>
|
|
<!--
|
|
Massively by HTML5 UP
|
|
html5up.net | @ajlkn
|
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
|
-->
|
|
<html lang='{{ .Site.Language.Lang | default "en-us" }}'>
|
|
<head>
|
|
<title>{{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }}</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5" />
|
|
|
|
{{ $description := "" }}
|
|
{{ if .Description }}{{ $description = .Description }}{{ else if .Summary }}{{ $description = .Summary | plainify | truncate 160 }}{{ else }}{{ $description = .Site.Params.description | default "Путешествия и приключения — блог о поездках по России и миру" }}{{ end }}
|
|
{{ $image := "" }}
|
|
{{ if .Params.image }}{{ $image = .Params.image | absURL }}{{ else }}{{ $image = (print .Site.BaseURL "images/desktop.webp") }}{{ end }}
|
|
|
|
<!-- SEO -->
|
|
<meta name="description" content="{{ $description }}" />
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
<!-- Open Graph (ВКонтакте, Telegram) -->
|
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
|
|
<meta property="og:title" content="{{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}" />
|
|
<meta property="og:description" content="{{ $description }}" />
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
|
<meta property="og:image" content="{{ $image }}" />
|
|
<meta property="og:locale" content="ru_RU" />
|
|
{{ if .IsPage }}
|
|
<meta property="article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" />
|
|
{{ end }}
|
|
<!-- CSS -->
|
|
{{ if hugo.IsServer }}
|
|
{{ $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "main.scss" . | toCSS (dict "targetPath" "assets/css/main.css" "enableSourceMap" true) }}
|
|
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
|
|
{{ else }}
|
|
{{ $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "main.scss" . | toCSS (dict "targetPath" "assets/css/main.css" "enableSourceMap" false) }}
|
|
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
|
|
{{ end }}
|
|
{{ with .Site.Params.favicon }}
|
|
<link rel="shortcut icon" href="/img/favicon.ico">
|
|
{{ end }}
|
|
{{ $noscript := resources.Get "scss/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "assets/css/noscript.css" "enableSourceMap" false) }}
|
|
<noscript><link rel="stylesheet" href='{{ $noscript.RelPermalink }}' /></noscript>
|
|
<link rel="stylesheet" href="/css/yandex-maps.css">
|
|
<link rel="stylesheet" href="/css/location-spacing.css">
|
|
<link rel="stylesheet" href="/css/footer-nav.css">
|
|
<link rel="stylesheet" href="/css/mobile-pagination.css">
|
|
<link rel="stylesheet" href="/css/back-to-top.css">
|
|
<link rel="stylesheet" href="/css/typography-improvements.css">
|
|
<link rel="stylesheet" href="/css/about-site.css">
|
|
<link rel="stylesheet" href="/css/copyright-visible.css">
|
|
<link rel="stylesheet" href="/css/nav-background.css">
|
|
<link rel="stylesheet" href="/css/pagination-info.css">
|
|
<link rel="stylesheet" href="/css/forms.css">
|
|
<link rel="stylesheet" href="/css/page-spacing.css">
|
|
<link rel="stylesheet" href="/css/mobile-menu.css">
|
|
<link rel="stylesheet" href="/css/adaptive-background.css">
|
|
{{ partial "htmlhead.custom.html" }}
|
|
</head>
|