Initial commit with some content

This commit is contained in:
Lucien Cartier-Tilet 2020-06-22 12:22:19 +02:00
commit b9015e5d31
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
20 changed files with 1149 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/archetypes/
/public/
/resources/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/m10c"]
path = themes/m10c
url = https://github.com/vaga/hugo-theme-m10c.git

62
config.toml Normal file
View File

@ -0,0 +1,62 @@
baseURL = "https://blog.phundrak.com/"
languageCode = "en-us"
copyright = "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License."
title = "Phundraks rambling"
theme = "m10c"
paginate = 5
enableInlineShortcodes = true
staticDir = ["static"]
summarylength = 10
enableEmoji = true
[author]
name = "Lucien Cartier-Tilet"
[params]
author = "Lucien Cartier-Tilet"
description = "Some random rambling by a linguistics nerd about Emacs, Linux, and conlanging"
avatar = "mahakala.png"
[[params.social]]
name = "github"
url = "https://github.com/phundrak"
[[params.social]]
name = "git-merge"
url = "https://labs.phundrak.com/phundrak"
[[params.social]]
name = "lind-2"
url = "https://phundrak.com"
[[params.social]]
name = "flag"
url = "https://langue.phundrak.com"
[[params.social]]
name = "twitter"
url = "https://github.com/phundrak"
[[params.social]]
name = "youtube"
url = "https://youtube.com/phundrak"
[[params.social]]
name = "instagram"
url = "https://instagram.com/phundrak"
[[params.social]]
name = "mail"
url = "mailto:lucien@phundrak.com"
[[params.social]]
name = "rss"
url = "https://blog.phundrak.com/index.xml"
[params.style]
darkestColor = "#5cac7e"
darkColor = "#34495e"
primaryColor = "#c5c19b"
lightColor = "#eee"
lightestColor = "#eee"

1007
content-org/blog.org Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
content/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.md

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
content/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
content/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
content/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
content/mahakala.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
content/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

19
content/site.webmanifest Normal file
View File

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

View File

@ -0,0 +1,35 @@
{{ define "main" }}
<article class="post">
<header class="post-header">
<h1 class ="post-title">{{ .Title }}</h1>
<div class="post-meta">
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
</div>
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
{{ .ReadingTime }} min read
</div>
{{- with .Params.tags -}}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
{{ range . -}}
{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
{{- end -}}
{{- end -}}
</div>
{{- end -}}
</div>
</header>
<div class="post-content">
{{ .Content }}
</div>
<div class="post-footer">
{{ template "_internal/disqus.html" . }}
</div>
</article>
<script defer src="https://commento.phundrak.com/js/commento.js"></script>
<div id="commento"></div>
{{ end }}

9
publish Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env fish
printf "###############################################################################\n"
printf "# Compiling blog #\n"
printf "###############################################################################\n"
hugo -D
printf "###############################################################################\n"
printf "# Uploading blog #\n"
printf "###############################################################################\n"
rsync -ruvtEhl --progress public/ Tilo:~/www/phundrak.com/blog

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
themes/m10c Submodule

@ -0,0 +1 @@
Subproject commit 71ab671245b3471f2884381b7fbada192a24695a