change theme 2 dark

This commit is contained in:
2026-05-27 23:31:29 +03:00
parent 8187183317
commit 21c981c2e0
9 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru"> <html lang="ru" data-bs-theme="dark">
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body class="bg-light"> <body>
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
<div id="content"> <div id="content">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
+1 -1
View File
@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<div class="container-xxl"> <div class="container-xxl">
<main> <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"> <nav aria-label="breadcrumb">
<ol class="breadcrumb m-0"> <ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="/">Главная</a></li> <li class="breadcrumb-item"><a href="/">Главная</a></li>
+3 -3
View File
@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<div class="container-xxl"> <div class="container-xxl">
<main> <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"> <nav aria-label="breadcrumb">
<ol class="breadcrumb m-0"> <ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="/">Главная</a></li> <li class="breadcrumb-item"><a href="/">Главная</a></li>
@@ -11,7 +11,7 @@
</nav> </nav>
</section> </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> <h3 class="m-0 p-0">{{ .Title }}</h3>
<div class="mt-2 text-secondary"> <div class="mt-2 text-secondary">
@@ -31,7 +31,7 @@
</div> </div>
</section> </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 }} {{ .Content }}
</section> </section>
</main> </main>
+3 -3
View File
@@ -1,7 +1,7 @@
{{- define "main" }} {{- define "main" }}
<div class="container-xxl"> <div class="container-xxl">
<main> <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"> <nav aria-label="breadcrumb">
<ol class="breadcrumb m-0"> <ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="/">Главная</a></li> <li class="breadcrumb-item"><a href="/">Главная</a></li>
@@ -11,13 +11,13 @@
</nav> </nav>
</section> </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 }} {{- $type := .Type }}
{{- range $key, $value := .Data.Terms.Alphabetical }} {{- range $key, $value := .Data.Terms.Alphabetical }}
{{- $name := .Name }} {{- $name := .Name }}
{{- $count := .Count }} {{- $count := .Count }}
{{- with site.GetPage (printf "/%s/%s" $type $name) }} {{- 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> <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">{{ $count }}</span>
</a> </a>
{{- end }} {{- end }}
+1 -1
View File
@@ -1,4 +1,4 @@
<section class="bg-white border rounded shadow-sm p-3 mb-3"> <section class="border rounded shadow-sm p-3 mb-3">
<h2 class="text-center mb-3">🗂️ Project list</h2> <h2 class="text-center mb-3">🗂️ Project list</h2>
<div class="row row-cols-1 row-cols-md-2 g-3"> <div class="row row-cols-1 row-cols-md-2 g-3">
@@ -1,4 +1,4 @@
<section class="bg-white border rounded shadow-sm p-2 mb-3"> <section class="border rounded shadow-sm p-2 mb-3">
<h2 class="text-center mt-2 mb-3">💼 Other projects</h2> <h2 class="text-center mt-2 mb-3">💼 Other projects</h2>
<div class="list-group"> <div class="list-group">
+1 -1
View File
@@ -1,4 +1,4 @@
<section class="bg-white border rounded shadow-sm p-3 mb-3"> <section class="border rounded shadow-sm p-3 mb-3">
<h2 class="text-center mb-3">📫 How to reach me</h2> <h2 class="text-center mb-3">📫 How to reach me</h2>
<div class="lh-lg text-center"> <div class="lh-lg text-center">
<a class="border-bottom border-primary text-decoration-none py-1 mx-1" target="_blank" href="mailto:iiiypuk@fastmail.fm">Mail</a> <a class="border-bottom border-primary text-decoration-none py-1 mx-1" target="_blank" href="mailto:iiiypuk@fastmail.fm">Mail</a>
@@ -1,4 +1,4 @@
<section class="bg-white border rounded shadow-sm p-3 mb-3"> <section class="border rounded shadow-sm p-3 mb-3">
<h2 class="text-center">🔌 What I use</h2> <h2 class="text-center">🔌 What I use</h2>
<!-- Programming languages --> <!-- Programming languages -->
+1 -1
View File
@@ -2,9 +2,9 @@
<div class="container-xxl"> <div class="container-xxl">
<main> <main>
<section> <section>
<p class="bg-white border rounded shadow-sm p-3 text-center">
🙃<br> 🙃<br>
Hey, my name is Alexander Popov. Hey, my name is Alexander Popov.
<p class="bg-body-tertiary border rounded shadow-sm p-3 text-center">
I am a chef of anything IT. I am a chef of anything IT.
</p> </p>
</section> </section>