0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
31
themes/bbaovanc/layouts/partials/head.html
Normal file
31
themes/bbaovanc/layouts/partials/head.html
Normal file
@ -0,0 +1,31 @@
|
||||
<head>
|
||||
</head>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="/blog/style.css">
|
||||
<link rel="icon" type="image/svg+xml" href="/blog/favicon.svg">
|
||||
<link rel="alternate icon" href="/blog/favicon.ico">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/blog/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/blog/css/style.css">
|
||||
|
||||
<meta name="subject" content="bbaovanc's blog">
|
||||
<meta name="description" content="This is my personal blog">
|
||||
<meta name="url" content="https://bbaovanc.com/blog/">
|
||||
<meta name="reply-to" content="contact@bbaovanc.com">
|
||||
|
||||
<meta name="og:type" content="website">
|
||||
<meta name="og:title" content="bbaovanc's blog">
|
||||
<meta name="og:url" content="https://bbaovanc.com/blog/">
|
||||
<meta name="og:site_name" content="bbaovanc's blog">
|
||||
<meta name="og:description" content="This is my personal blog">
|
||||
<meta name="og:email" content="contact@bbaovanc.com">
|
||||
<meta name="og:image" content="/blog/bbaovanc-1024.png">
|
||||
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
</head>
|
14
themes/bbaovanc/layouts/partials/header.html
Normal file
14
themes/bbaovanc/layouts/partials/header.html
Normal file
@ -0,0 +1,14 @@
|
||||
<div id="nav-border" class="container">
|
||||
<nav id="nav" class="nav justify-content-center">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="nav-link" href="{{ .URL }}">
|
||||
{{ if .Pre }}
|
||||
{{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }}
|
||||
{{ $icon }}
|
||||
{{ end }}
|
||||
{{ $text := print .Name | safeHTML }}
|
||||
{{ $text }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</div>
|
11
themes/bbaovanc/layouts/partials/metadata.html
Normal file
11
themes/bbaovanc/layouts/partials/metadata.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
|
||||
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
|
||||
<i data-feather="calendar"></i>
|
||||
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
|
||||
{{ with .Params.tags }}
|
||||
<i data-feather="tag"></i>
|
||||
{{ range . }}
|
||||
{{ $href := print (absURL "tags/") (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
4
themes/bbaovanc/layouts/partials/script.html
Normal file
4
themes/bbaovanc/layouts/partials/script.html
Normal file
@ -0,0 +1,4 @@
|
||||
<script src="/js/feather.min.js"></script>
|
||||
<script>
|
||||
feather.replace()
|
||||
</script>
|
Reference in New Issue
Block a user