Use hugo SSG #5

Merged
pratyush merged 4 commits from clean/hugo into master 2023-07-18 18:46:33 +02:00
22 changed files with 146 additions and 19 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.hugo_build.lock
themes/risotto2
public

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/risotto"]
path = themes/risotto
url = https://github.com/joeroe/risotto.git

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# Website
# TODO

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

84
config.toml Normal file
View File

@ -0,0 +1,84 @@
baseURL = 'https://arch.fail'
theme = 'risotto'
title = 'Arch Reject'
author = 'Pratyush Desai'
paginate = 3
languageCode = "en"
DefaultContentLanguage = "en"
enableInlineShortcodes = true
sectionPagesMenu = "main"
[params]
noindex = false
[params.theme]
palette = "rosepine"
[params.about]
title = "pratyush desai"
description = "No description set"
logo = "images/shodan.png"
[[params.socialLinks]]
icon = "fa-brands fa-github"
title = "GitHub"
url = "https://github.com/mogad0n"
[[params.socialLinks]]
icon = "fa-brands fa-git-alt"
title = "Gitea"
url = "https://git.com.de/pratyush"
[[params.socialLinks]]
icon = "fa-solid fa-envelope"
title = "Email"
url = "mailto:pratyush.desai@liberta.casa"
[[params.socialLinks]]
icon = "fa-brands fa-mastodon"
title = "Mastodon"
url = "https://fosstodon.org/@mogad0n"
[menu]
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 10
[[menu.main]]
identifier = "projects"
name = "Projects"
url = "/projects/"
weight = 10
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "/posts/"
weight = 10
[[menu.main]]
identifier = "contact"
name = "Contact"
url = "/contact/"
weight = 10
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[markup.goldmark.renderer]
unsafe = true
[markup]
# Table of contents
# Add toc = true to content front matter to enable
[markup.tableOfContents]
startLevel = 2
endLevel = 3
ordered = true

6
content/about.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "About"
date: 2023-07-17T21:43:57+05:30
draft: true
---

6
content/boring.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Boring"
date: 2023-07-17T17:10:04+05:30
draft: true
---

6
content/posts.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Posts"
date: 2023-07-17T23:26:17+05:30
draft: true
---

6
content/projects.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Projects"
date: 2023-07-17T21:43:39+05:30
draft: true
---

1
images/git-alt.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>

After

Width:  |  Height:  |  Size: 706 B

1
images/mastodon.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"/></svg>

After

Width:  |  Height:  |  Size: 863 B

View File

@ -1,19 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Site Index</title>
</head>
<body>
<h1>www</h1>
<p>this is my www.</p>i
<pre>
When a man knows he is to be hanged in a fortnight, it concentrates his
mind wonderfully.
-- Samuel Johnson
</pre>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
static/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,18 @@
:root {
--base00: #191724;
--base01: #1f1d2e;
--base02: #26233a;
--base03: #6e6a86;
--base04: #908caa;
--base05: #e0def4;
--base06: #e0def4;
--base07: #524f67;
--base08: #eb6f92;
--base09: #f6c177;
--base0A: #ebbcba;
--base0B: #31748f;
--base0C: #9ccfd8;
--base0D: #c4a7e7;
--base0E: #f6c177;
--base0F: #524f67;
}

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/images/shodan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

1
static/site.webmanifest Normal file
View File

@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

1
themes/risotto Submodule

@ -0,0 +1 @@
Subproject commit 21fdc87b56e662133c9bba6ee96940ed8f5be6a6