Skip to content

Commit

Permalink
Continue refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillbobyrev committed Feb 19, 2025
1 parent 26a6e40 commit 68bdd0c
Show file tree
Hide file tree
Showing 17 changed files with 58 additions and 67 deletions.
File renamed without changes.
25 changes: 4 additions & 21 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/* Colors */
--accent: #4285f4;
--accent-light: #93a9d1;
--tag-background: #e8f0fe;
--background: #fff;
--muted: #BDBDBD;
--muted-background: #f5f5f6;
Expand Down Expand Up @@ -115,7 +114,7 @@ time {

/* Title and menu. */

.blog-title {
.site-title {
color: #222;
text-decoration: none;
font-size: xx-large;
Expand Down Expand Up @@ -144,31 +143,15 @@ time {

/* Posts */

.posts {
.blog-posts {
list-style: none;
padding-left: 0;
}

.posts>li {
.blog-posts>li {
display: flex;
}

/* Tags */

.tag-cloud {
padding: 0;
}

.tag-cloud>li {
display: inline;
padding-right: .4rem;
}

.tag-cloud>li>a {
color: var(--text-color);
text-decoration: none;
}

/* Headings */

h2,
Expand Down Expand Up @@ -206,7 +189,7 @@ th {
}

/* Ensure responsive design for small screens */
@media (max-width: 600px) {
@media (max-width: 400px) {
body {
padding: 1rem;
}
Expand Down
1 change: 1 addition & 0 deletions assets/icons/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/gmail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/goodreads.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/lichess.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/icons/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/telegram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = 'Blog'
menu = 'main'
weight = 5
weight = 2
+++
2 changes: 1 addition & 1 deletion content/blog/analyzing-long-win-streaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Monte-Carlo simulation to estimate the likelihood of Hikaru Nakamura (and his
peers) achieving long winning streaks, as recently highlighted by Vladimir
Kramnik. For results and calculations, see [Monte-Carlo
simulation](/blog/analyzing-long-win-streaks/#monte-carlo-simulations) tables
and [conclusion](/blog/analyzing-long-win-streaks/#conclusion) below.
and [conclusion](/posts/analyzing-long-win-streaks/#conclusion) below.

This post does not aim to determine whether Hikaru Nakamura or other players
have engaged in any form cheating. Instead, my goal is to critically examine
Expand Down
21 changes: 0 additions & 21 deletions content/contact.md

This file was deleted.

14 changes: 13 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ enableRobotsTXT = true
googleAnalytics = 'G-RHCZGDQQJR'
languageCode = 'en'
title = 'Kirill Bobyrev'
disableKinds = ['taxonomy', 'term']

[params]
description = 'Blog about Software Engineering and hobbies by Kirill Bobyrev'
Expand All @@ -13,6 +14,7 @@ title = 'Kirill Bobyrev'
dateDisplayFormat = "2 Jan, 2006"
[params.author]
name = 'Kirill Bobyrev'
# This is needed for _internal/twitter_cards.html
[params.social]
twitter = 'kirillbobyrev'

Expand All @@ -33,4 +35,14 @@ title = 'Kirill Bobyrev'
[[menu.main]]
name = 'Resume'
url = '/resume.pdf'
weight = 4
weight = 3


# [Telegram](https://telegram.me/kirillbobyrev)
# <[email protected]>

# [LinkedIn](https://linkedin.com/in/kirillbobyrev)
# [GitHub](https://github.com/kirillbobyrev)
# [Instagram](https://instagram.com/cybobyrev)
# [Lichess](https://lichess.org/@/kirillbobyrev)
# [Codeforces](https://codeforces.com/profile/kirillbobyrev)
11 changes: 0 additions & 11 deletions layouts/_default/list.html

This file was deleted.

10 changes: 0 additions & 10 deletions layouts/_default/post.html

This file was deleted.

15 changes: 15 additions & 0 deletions layouts/blog/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ define "main" }}

{{ .Content }}

<ul class="blog-posts">
{{ range .Pages }}
<li>
<article>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</article>
</li>
{{ end }}
</ul>

{{ end }}
15 changes: 15 additions & 0 deletions layouts/notes/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ define "main" }}

{{ .Content }}

<ul class="notes">
{{ range .Pages }}
<li>
<article>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</article>
</li>
{{ end }}
</ul>

{{ end }}
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="{{ site.BaseURL }}" class="blog-title">
<a href="{{ site.BaseURL }}" class="site-title">
{{ site.Title }}
</a>

Expand Down

0 comments on commit 68bdd0c

Please sign in to comment.