change theme 2 dark
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<html lang="ru" data-bs-theme="dark">
|
||||
{{- partial "head.html" . -}}
|
||||
<body class="bg-light">
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<div class="container-xxl">
|
||||
<main>
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<section class="bg-body-tertiary border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<div class="container-xxl">
|
||||
<main>
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<section class="bg-body-tertiary border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||||
@@ -11,7 +11,7 @@
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<section class="bg-body-tertiary border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<h3 class="m-0 p-0">{{ .Title }}</h3>
|
||||
|
||||
<div class="mt-2 text-secondary">
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="content bg-white border rounded shadow-sm p-3 mb-3">
|
||||
<section class="bg-body-tertiary content border rounded shadow-sm p-3 mb-3">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{- define "main" }}
|
||||
<div class="container-xxl">
|
||||
<main>
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<section class="bg-body-tertiary border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||||
@@ -11,13 +11,13 @@
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="tags-justify bg-white border rounded shadow-sm p-3 mb-3 text-justify">
|
||||
<section class="bg-body-tertiary tags-justify border rounded shadow-sm p-3 mb-3 text-justify">
|
||||
{{- $type := .Type }}
|
||||
{{- range $key, $value := .Data.Terms.Alphabetical }}
|
||||
{{- $name := .Name }}
|
||||
{{- $count := .Count }}
|
||||
{{- with site.GetPage (printf "/%s/%s" $type $name) }}
|
||||
<a class="btn btn-sm btn-outline-dark position-relative m-2" href="{{ .Permalink }}">{{ .Name }}
|
||||
<a class="btn btn-sm btn-dark position-relative m-2" href="{{ .Permalink }}">{{ .Name }}
|
||||
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">{{ $count }}</span>
|
||||
</a>
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user