Skip to content

Commit

Permalink
simplify a bit, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xndr78 committed May 6, 2024
1 parent 08055ce commit 86df8f7
Show file tree
Hide file tree
Showing 19 changed files with 91 additions and 178 deletions.
1 change: 0 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "/home/xndr_78"
languageCode = "en-us"
googleAnalytics = "UA-9638300-1"
sectionPagesMenu = "main"
theme = "xndr-name-theme"
[menu]
[[menu.main]]
name = "/home/xndr_78"
Expand Down
14 changes: 4 additions & 10 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
---
title: "about me"
date: 2021-01-06T17:44:06+03:00
---
Hi.
# Hi there. My name is Aleksandr Sobolev, and this is a little website I've made.

My name is Aleksandr Sobolev, and this is my fabulous homepage.

I'm a software engineer from Saint Petersburg, Russia, living abroad right now.
I'm a software engineer from Saint Petersburg, Russia, living abroad for now.

I love coding, games and memes.

Have a nice day.
Also, хуй войне.

Also, хуй войне.
Have a nice day.
5 changes: 5 additions & 0 deletions layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ define "main"}}
<div>
<h1 id="title">404</h1>
</div>
{{ end }}
79 changes: 79 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<style>
body {
background-color: #dbdbdb;
}

a {
text-decoration: underline;
}

.block-intro p {
font-size: 1.2em;
font-weight: 200;
padding-top: 1.2em;
margin: 0;
color: #2b2f32;
font-family: monospace;
}

.link-menu {
color: #6c757d;
font-size: 1em;
text-decoration: none;
font-family: monospace;
}

.link-menu:hover, .link-menu:focus {
color: #2630c1;
}

a {
color: #6c757d;
}

a:hover, a:focus {
color: #2b2f32;
}

main h1, main h2 {
font-family: monospace;
color: #2b2f32;
}
</style>
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>
<body>
<div class="container">
<div class="nav-scroller mb-2 py-2 my-2">
<nav class="nav d-flex justify-content-start">
{{ range .Site.Menus.main }}
{{ if .Weight }}
{{ $text := print .Name | safeHTML }}
<a class="me-3 link-menu" href="{{ .URL }}">{{ $text }}</a>
{{ end }}
{{ end }}
</nav>
</div>
</div>
<main class="container">
{{- block "main" . }}{{- end }}
</main><!-- /.container -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RY02M6FNYP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RY02M6FNYP');
</script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{{ define "main" }}
<h1>DEFAULT LIST</h1>
<h1>{{ .Title }}</h1>
<h1>absolutely nothing here, what a shame</h1>
{{ range .Pages.ByPublishDate.Reverse }}
<div>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "post-metadata.html" . }}
<a class="summary" href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p>
</a>
Expand Down
6 changes: 2 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{{ define "main" }}
<div class="p-4 mb-4 text-white rounded bg-hehe">
<div class="col-md-6 px-0 block-intro">
{{ .Content }}
</div>
<div class="col-md-6 px-0 block-intro">
{{ .Content }}
</div>
{{ end }}
20 changes: 0 additions & 20 deletions themes/xndr-name-theme/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions themes/xndr-name-theme/archetypes/default.md

This file was deleted.

7 changes: 0 additions & 7 deletions themes/xndr-name-theme/layouts/404.html

This file was deleted.

21 changes: 0 additions & 21 deletions themes/xndr-name-theme/layouts/_default/baseof.html

This file was deleted.

7 changes: 0 additions & 7 deletions themes/xndr-name-theme/layouts/_default/single.html

This file was deleted.

7 changes: 0 additions & 7 deletions themes/xndr-name-theme/layouts/index.html

This file was deleted.

Empty file.
9 changes: 0 additions & 9 deletions themes/xndr-name-theme/layouts/partials/head.html

This file was deleted.

12 changes: 0 additions & 12 deletions themes/xndr-name-theme/layouts/partials/header.html

This file was deleted.

10 changes: 0 additions & 10 deletions themes/xndr-name-theme/layouts/partials/post-metadata.html

This file was deleted.

1 change: 0 additions & 1 deletion themes/xndr-name-theme/layouts/partials/script.html

This file was deleted.

43 changes: 0 additions & 43 deletions themes/xndr-name-theme/static/css/style.css

This file was deleted.

21 changes: 0 additions & 21 deletions themes/xndr-name-theme/theme.toml

This file was deleted.

0 comments on commit 86df8f7

Please sign in to comment.