Skip to content

Commit 86df8f7

Browse files
committed
simplify a bit, cleanup
1 parent 08055ce commit 86df8f7

File tree

19 files changed

+91
-178
lines changed

19 files changed

+91
-178
lines changed

config.toml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title = "/home/xndr_78"
33
languageCode = "en-us"
44
googleAnalytics = "UA-9638300-1"
55
sectionPagesMenu = "main"
6-
theme = "xndr-name-theme"
76
[menu]
87
[[menu.main]]
98
name = "/home/xndr_78"

content/_index.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
---
2-
title: "about me"
3-
date: 2021-01-06T17:44:06+03:00
4-
---
5-
Hi.
1+
# Hi there. My name is Aleksandr Sobolev, and this is a little website I've made.
62

7-
My name is Aleksandr Sobolev, and this is my fabulous homepage.
8-
9-
I'm a software engineer from Saint Petersburg, Russia, living abroad right now.
3+
I'm a software engineer from Saint Petersburg, Russia, living abroad for now.
104

115
I love coding, games and memes.
126

13-
Have a nice day.
7+
Also, хуй войне.
148

15-
Also, хуй войне.
9+
Have a nice day.

layouts/404.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{ define "main"}}
2+
<div>
3+
<h1 id="title">404</h1>
4+
</div>
5+
{{ end }}

layouts/_default/baseof.html

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
7+
<style>
8+
body {
9+
background-color: #dbdbdb;
10+
}
11+
12+
a {
13+
text-decoration: underline;
14+
}
15+
16+
.block-intro p {
17+
font-size: 1.2em;
18+
font-weight: 200;
19+
padding-top: 1.2em;
20+
margin: 0;
21+
color: #2b2f32;
22+
font-family: monospace;
23+
}
24+
25+
.link-menu {
26+
color: #6c757d;
27+
font-size: 1em;
28+
text-decoration: none;
29+
font-family: monospace;
30+
}
31+
32+
.link-menu:hover, .link-menu:focus {
33+
color: #2630c1;
34+
}
35+
36+
a {
37+
color: #6c757d;
38+
}
39+
40+
a:hover, a:focus {
41+
color: #2b2f32;
42+
}
43+
44+
main h1, main h2 {
45+
font-family: monospace;
46+
color: #2b2f32;
47+
}
48+
</style>
49+
{{ $title := print .Site.Title " | " .Title }}
50+
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
51+
<title>{{ $title }}</title>
52+
</head>
53+
<body>
54+
<div class="container">
55+
<div class="nav-scroller mb-2 py-2 my-2">
56+
<nav class="nav d-flex justify-content-start">
57+
{{ range .Site.Menus.main }}
58+
{{ if .Weight }}
59+
{{ $text := print .Name | safeHTML }}
60+
<a class="me-3 link-menu" href="{{ .URL }}">{{ $text }}</a>
61+
{{ end }}
62+
{{ end }}
63+
</nav>
64+
</div>
65+
</div>
66+
<main class="container">
67+
{{- block "main" . }}{{- end }}
68+
</main><!-- /.container -->
69+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
70+
<!-- Google tag (gtag.js) -->
71+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RY02M6FNYP"></script>
72+
<script>
73+
window.dataLayer = window.dataLayer || [];
74+
function gtag(){dataLayer.push(arguments);}
75+
gtag('js', new Date());
76+
gtag('config', 'G-RY02M6FNYP');
77+
</script>
78+
</body>
79+
</html>

themes/xndr-name-theme/layouts/_default/list.html layouts/_default/list.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{{ define "main" }}
2-
<h1>DEFAULT LIST</h1>
3-
<h1>{{ .Title }}</h1>
2+
<h1>absolutely nothing here, what a shame</h1>
43
{{ range .Pages.ByPublishDate.Reverse }}
54
<div>
65
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
7-
{{ partial "post-metadata.html" . }}
86
<a class="summary" href="{{ .RelPermalink }}">
97
<p>{{ .Summary }}</p>
108
</a>

layouts/index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{{ define "main" }}
2-
<div class="p-4 mb-4 text-white rounded bg-hehe">
3-
<div class="col-md-6 px-0 block-intro">
4-
{{ .Content }}
5-
</div>
2+
<div class="col-md-6 px-0 block-intro">
3+
{{ .Content }}
64
</div>
75
{{ end }}

themes/xndr-name-theme/LICENSE

-20
This file was deleted.

themes/xndr-name-theme/archetypes/default.md

-2
This file was deleted.

themes/xndr-name-theme/layouts/404.html

-7
This file was deleted.

themes/xndr-name-theme/layouts/_default/baseof.html

-21
This file was deleted.

themes/xndr-name-theme/layouts/_default/single.html

-7
This file was deleted.

themes/xndr-name-theme/layouts/index.html

-7
This file was deleted.

themes/xndr-name-theme/layouts/partials/footer.html

Whitespace-only changes.

themes/xndr-name-theme/layouts/partials/head.html

-9
This file was deleted.

themes/xndr-name-theme/layouts/partials/header.html

-12
This file was deleted.

themes/xndr-name-theme/layouts/partials/post-metadata.html

-10
This file was deleted.

themes/xndr-name-theme/layouts/partials/script.html

-1
This file was deleted.

themes/xndr-name-theme/static/css/style.css

-43
This file was deleted.

themes/xndr-name-theme/theme.toml

-21
This file was deleted.

0 commit comments

Comments
 (0)