mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-21 21:07:28 -05:00
archetypes
assets
data
exampleSite
i18n
layouts
_default
partials
author-metadata.html
authors-meta-item.html
breadcrumb.html
comments.html
credit.html
figure.html
head.html
icon.html
opengraph.html
post-metadata-short.html
post-metadata.html
readingtime-meta-item.html
remote_figure.html
schema.html
seo_schema.html
series-meta-item.html
tags-meta-item.html
top.html
translations-meta-item.html
twitter_cards.html
viewsource-meta-item.html
shortcodes
taxonomy
index.html
robots.txt
.editorconfig
.gitattributes
.gitignore
.gitmodules
LICENSE
README.md
config.yaml
theme.toml
42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{{ hugo.Generator }}
|
|
|
|
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
|
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
{{ with resources.Get "css/syntax.css" | fingerprint "sha512" }}
|
|
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
{{ with resources.Get "css/syntax-light.css" | fingerprint "sha512" }}
|
|
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.faviconICO }}
|
|
<link rel="icon" type="image/x-icon" href="{{ . | absURL }}" />
|
|
{{ end }}
|
|
{{ with .Site.Params.faviconPNG }}
|
|
<link rel="icon" type="image/png" href="{{ . | absURL }}" />
|
|
{{ end }}
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
{{ if .IsHome }}
|
|
<title>{{ .Site.Title }}</title>
|
|
{{ else }}
|
|
<title>{{ print .Title " | " .Site.Title }}</title>
|
|
{{ end }}
|
|
|
|
{{ partial "opengraph.html" . }}
|
|
{{ partial "twitter_cards.html" . }}
|
|
{{ partial "schema.html" . }}
|
|
{{ partial "seo_schema.html" . }}
|
|
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
|
|
|
|
{{ partial "author-metadata.html" . }}
|
|
</head>
|