Skip to content

Commit d520905

Browse files
fix this shit
1 parent b4f94d7 commit d520905

File tree

15 files changed

+1266
-40
lines changed

15 files changed

+1266
-40
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
serve:
2+
cp themes/serene/highlight_themes highlight_themes -r
3+
zola serve

config.toml

Lines changed: 42 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,53 @@
1-
# The URL the site will be built for
21
base_url = "https://andypy.dev"
3-
4-
# Whether to automatically compile all Sass files in the sass directory
2+
default_language = "en"
3+
theme = "serene"
4+
output_dir = "public"
55
compile_sass = true
6+
minify_html = false # Keep this false, as it may cause issues with some styles
7+
build_search_index = false # Keep this false, search is temporarily unsupported
8+
generate_feeds = false # Whether to generate a feed file in root, read docs for more info about rss feed
9+
feed_filenames = ["feed.xml"] # "feed.xml" | "atom.xml" | "rss.xml", read docs for more info
10+
taxonomies = [{ name = "tags" }, { name = "categories" }]
611

7-
taxonomies = [
8-
# {name = "categories", rss = true},
9-
{name = "tags", rss = true},
12+
[markdown]
13+
highlight_code = true
14+
highlight_theme = "css"
15+
extra_syntaxes_and_themes = ["highlight_themes"]
16+
highlight_themes_css = [
17+
{ theme = "serene-light", filename = "hl-light.css" },
18+
{ theme = "serene-dark", filename = "hl-dark.css" },
1019
]
20+
render_emoji = false
21+
external_links_target_blank = false
22+
external_links_no_follow = true
23+
external_links_no_referrer = true
24+
smart_punctuation = false
1125

12-
# Whether to build a search index to be used later on by a JavaScript library
13-
build_search_index = true
14-
theme = "serene"
26+
[slugify]
27+
paths = "on"
28+
taxonomies = "on"
29+
anchors = "on"
1530

16-
[markdown]
17-
# Whether to do syntax highlighting
18-
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
19-
highlight_code = true
31+
#=========================================================================================
2032

2133
[extra]
22-
name = "Andy"
23-
links = [
24-
{ name = "GitHub", icon = "ri-github-line", url = "https://github.com/Andy-Python-Programmer" },
34+
35+
sections = [
36+
{ name = "blog", path = "/blog" },
37+
{ name = "projects", path = "/projects" },
2538
]
2639

27-
avatar = "https://avatars.githubusercontent.com/u/62820092?v=4"
28-
id = "Andy-Python-Programmer#4223"
29-
bio = "17 year old programmer and free software enthusiast"
40+
blog_section_path = "/blog"
3041

31-
#=========================================================================================
32-
# Footer
33-
#=========================================================================================
34-
footer_copyright_name = "Andy"
35-
footer_copyright_year = "2022"
36-
footer_credits = true
42+
back_link_text = "Back" # Text of the back button
43+
force_theme = false # false | "light" | "dark"
44+
45+
footer_copyright = "© 2025 Anhad Singh"
46+
footer_credits = true # Whether to show "Built with zola and serene" in footer
47+
48+
not_found_error_text = "404 not found"
49+
not_found_recover_text = "« back to home »"
50+
51+
reaction = false # Whether to enable anonymous emoji reactions (Note: You need to set up a working api endpoint to enable this feature)
52+
reaction_align = "right" # "left" | "center" | "right"
53+
reaction_endpoint = "https://example.com/api/reaction"

content/_index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,12 @@ template = 'home.html'
33

44
[extra]
55
lang = 'en'
6-
+++
6+
name = "andypython"
7+
links = [
8+
{ name = "GitHub", icon = "github", url = "https://github.com/Andy-Python-Programmer" },
9+
]
10+
11+
avatar = "img/avatar.png"
12+
id = "Andy-Python-Programmer#4223"
13+
bio = "17 year old programmer and free software enthusiast"
14+
+++

content/blog/_index.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,23 @@ sort_by = "date"
55
template = "blog.html"
66
page_template = "post.html"
77
insert_anchor_links = "none"
8-
generate_feed = true
98

109
[extra]
11-
lang = 'en'
12-
show_post_num = 10
13-
+++
10+
lang = "en"
11+
12+
title = "Blog"
13+
subtitle = "sup"
14+
15+
date_format = "%b %-d, %Y"
16+
17+
categorized = false # posts can be categorized
18+
back_to_top = true # show back-to-top button
19+
toc = true # show table-of-contents
20+
comment = false # enable comment
21+
copy = true # show copy button in code block
22+
23+
outdate_alert = false
24+
outdate_alert_days = 12
25+
outdate_alert_text_before = "This article was last updated "
26+
outdate_alert_text_after = " days ago and may be out of date."
27+
+++

content/blog/mutex_vs_rwlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
+++
2-
title = ""
2+
title = "Mutex vs RwLock"
33
date = 2022-01-01
44

55
[taxonomies]

content/projects/_index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
+++
22
title = "Projects"
3-
template = "projects.html"
3+
template = "prose.html"
44

55
[extra]
6-
lang = 'en'
6+
title = "Projects"
7+
subtitle = "Some cool projects I made"
78
+++
9+
10+
{{ collection(file="projects.toml") }}
11+
Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
[[project]]
2-
name = "Aero"
3-
desc = """
1+
[[collection]]
2+
type = "card"
3+
title = "Aero"
4+
content = """
45
Aero is a new modern, experimental, unix-like operating system following the monolithic kernel design.
56
Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
67
"""
78
links = [
89
{ name = "GitHub", url = "https://github.com/Andy-Python-Programmer/aero" },
910
{ name = "Documentation", url = "https://aero.andypy.dev" },
1011
]
12+
tags = ["rust", "osdev"]
1113

12-
[[project]]
13-
name = "Call of Ferris"
14-
desc = """
14+
[[collection]]
15+
type = "card"
16+
title = "Call of Ferris"
17+
content = """
1518
A thrilling action game where your favorite Ferris the crab and the rust mascot got guns and has taken
1619
up the duty to find evildoer languages while managing to keep itself alive. Take part in this awesome
1720
adventure and help Ferris be the best ever!
1821
"""
1922
links = [
2023
{ name = "GitHub", url = "https://github.com/Andy-Python-Programmer/CallOfFerris" },
2124
]
25+
tags = ["rust", "game"]

0 commit comments

Comments
 (0)