From: Duje Mihanović Date: Sat, 5 Aug 2023 21:19:34 +0000 (+0200) Subject: First version of site X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=7ad2c80c7432b2a12e9a3c24c1f608dc865e4985;p=dujemihanovic.xyz.git First version of site --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c1a84fe --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.hugo_build.lock +public/** diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..92c70f2 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,50 @@ +body { + width: 100%; + margin: 0 auto; +} + +nav { + text-align: center; +} + +nav ul { + list-style: none; + padding: 3px 5px; +} + +nav a { + text-decoration: none; + color: #000; +} + +nav a:hover { + text-decoration: underline; +} + +nav li { + display: inline; + padding: 0 10px; +} + +p { + margin: 8px 0; +} + +ul { + padding: 0 40px; + margin: 5px 0; +} + +main { + max-width: 800px; + margin: 0 auto; + display: flex; + flex-direction: column; + align-items: center; +} + +footer { + display: flex; + flex-direction: column; + align-items: center; +} diff --git a/assets/img/donate.png b/assets/img/donate.png new file mode 100644 index 0000000..cbf2528 Binary files /dev/null and b/assets/img/donate.png differ diff --git a/assets/img/rss.svg b/assets/img/rss.svg new file mode 100644 index 0000000..b325149 --- /dev/null +++ b/assets/img/rss.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..a87fcb8 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,6 @@ +--- +title: Index +--- +# Duje Mihanović's Site +Welcome to my site. I'm a programmer who has spent most of his productive time +lately porting Linux to mobile phones. diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..64a0a3f --- /dev/null +++ b/content/contact.md @@ -0,0 +1,23 @@ +--- +title: Contact +--- +# Contact +If you wish to contact me, there are several ways to do so: + +## E-mail +duje.mihanovic@skole.hr + +If you can, please encrypt mails: +* `gpg --fetch-keys https://dujemihanovic.xyz/duje-key.asc` +* Fingerprint: `53DF 9D4D 9C3F E110 FB36 2D78 9A11 9EB0 422D 96E1` +* Don't forget to attach your public key so I can encrypt my reply to you. + +## XMPP +[duje@dujemihanovic.xyz](xmpp:duje@dujemihanovic.xyz) + +* Desktop OMEMO fingerprint: `f42939cd c5ec3c58 5a68053c de09f83c bbe35f33 e23e4c40 b465d06f 1c2b4d4d` +* Phone OMEMO fingerprint: `b0e1f985 c3ded043 87f2df92 29faaf29 8e9e42f6 ef48022c 52496438 61cd6e5b` +* Alternatively, GPG with the above key will do as well. + +## Matrix +[@duje:dujemihanovic.xyz](https://matrix.to/#/@duje:dujemihanovic.xyz) diff --git a/content/posts/_index.md b/content/posts/_index.md new file mode 100644 index 0000000..a7721e4 --- /dev/null +++ b/content/posts/_index.md @@ -0,0 +1,4 @@ +--- +title: Blog +--- +# Posts diff --git a/content/posts/first-post/index.md b/content/posts/first-post/index.md new file mode 100644 index 0000000..a522cc3 --- /dev/null +++ b/content/posts/first-post/index.md @@ -0,0 +1,12 @@ +--- +title: "First Post" +date: 2023-08-05T21:21:40+02:00 +--- +This is the first post on my new blog. I don't expect to write much at all, but +if I do it will most likely be about my experiences with Linux on smartphones +and perhaps reviews/recommendations of products I come across. + +I'm still experimenting with Hugo, so don't be surprised if the site layout +changes dramatically in a short period of time. I put the source code for this +site under a (as of writing, local) Git repository which I do intend to make +public if and when the blog becomes something relatively serious. diff --git a/hugo.toml b/hugo.toml index 1d7c819..9770b55 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,5 @@ -baseURL = 'http://example.org/' +baseURL = 'https://dujemihanovic.xyz/' languageCode = 'en-us' -title = 'My New Hugo Site' +title = "Duje Mihanović's Site" +[author] + name = 'Duje Mihanović' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..a772c48 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,31 @@ + + + + {{ partial "meta.html" . }} + {{ $style := resources.Get "css/style.css" | resources.Minify }} + + + + + + + {{ partial "nav.html" }} +
+ {{ block "main" . }} + {{ end }} +
+
+ + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..ec936f4 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,14 @@ +{{ define "main" }} +{{ .Content }} +{{ end }} + +{{ define "footer" }} + +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..8e99f87 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html new file mode 100644 index 0000000..ebfc3dc --- /dev/null +++ b/layouts/partials/meta.html @@ -0,0 +1,2 @@ + +{{ print .Page.Title }} | {{ print .Site.Title }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..a5f33ab --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,7 @@ + diff --git a/layouts/posts/list.html b/layouts/posts/list.html new file mode 100644 index 0000000..bca32c9 --- /dev/null +++ b/layouts/posts/list.html @@ -0,0 +1,10 @@ +{{ define "main" }} +{{ .Content }} + +{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..7cdb7f1 --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,8 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .WordCount }} words, estimated reading time: {{ .ReadingTime }} minute(s) + Originally published on {{ .PublishDate.Format "January 2, 2006" }} + Last modified on {{ .Lastmod.Format "January 2, 2006" }} +

+ {{ .Content }} +{{ end }} diff --git a/static/duje-key.asc b/static/duje-key.asc new file mode 100644 index 0000000..003b67e --- /dev/null +++ b/static/duje-key.asc @@ -0,0 +1,101 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBGBhuA8BEACtpIbYNfUtQkpVqgHMPlcQR/vZhB7VUh5S32uSyerG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