diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-01-02 15:09:55 -0330 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-01-02 15:09:55 -0330 |
| commit | d41ba19690c7289c8815270adececb0fee09723f (patch) | |
| tree | 68e9533626324113c670b100178bdd5ade396d12 | |
| parent | 28079468bb4a82947c5759d6d556c1ee1e0a2a79 (diff) | |
| download | samanthony.xyz-d41ba19690c7289c8815270adececb0fee09723f.zip | |
remove article list from home page
| -rw-r--r-- | content/_index.html | 2 | ||||
| -rw-r--r-- | content/articles/_index.md (renamed from content/posts/_index.md) | 2 | ||||
| -rw-r--r-- | content/articles/post-1.md (renamed from content/posts/post-1.md) | 0 | ||||
| -rw-r--r-- | hugo.toml | 24 | ||||
| -rw-r--r-- | layouts/articles/home.html | 7 | ||||
| -rw-r--r-- | layouts/home.html | 4 | ||||
| -rw-r--r-- | themes/aoidh/assets/aoidh.css | 7 |
7 files changed, 18 insertions, 28 deletions
diff --git a/content/_index.html b/content/_index.html index 684bbe1..b76d1f7 100644 --- a/content/_index.html +++ b/content/_index.html @@ -60,3 +60,5 @@ draft: false </tr> </tbody> </table> +<img src="img/headshot.jpg" alt="Sam Anthony"> +<p>TODO: biography</p> diff --git a/content/posts/_index.md b/content/articles/_index.md index eabddf5..bc3438a 100644 --- a/content/posts/_index.md +++ b/content/articles/_index.md @@ -1,5 +1,5 @@ +++ -title = 'Posts' +title = 'Articles' date = 2025-12-23T08:30:00-07:00 draft = false +++ diff --git a/content/posts/post-1.md b/content/articles/post-1.md index 9ba4184..9ba4184 100644 --- a/content/posts/post-1.md +++ b/content/articles/post-1.md @@ -15,31 +15,11 @@ theme = 'aoidh' weight = 1 [[menus.main]] - name = 'Posts' - pageRef = '/posts' + name = 'Articles' + pageRef = '/articles' weight = 2 [[menus.main]] name = 'Projects' url = 'http://git.samanthony.xyz/' weight = 3 - - [[menus.main]] - name = 'Tags' - pageRef = '/tags' - weight = 4 - - [[menus.main]] - name = 'Foo' - pageRef = '/foo' - weight = 4 - - [[menus.main]] - name = 'Bar' - pageRef = '/bar' - weight = 4 - - [[menus.main]] - name = 'Baz' - pageRef = '/baz' - weight = 4 diff --git a/layouts/articles/home.html b/layouts/articles/home.html new file mode 100644 index 0000000..46ab1df --- /dev/null +++ b/layouts/articles/home.html @@ -0,0 +1,7 @@ +{{ define "main" }} + {{ .Content }} + {{ range .Pages }} + <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> + {{ .Summary }} + {{ end }} +{{ end }} diff --git a/layouts/home.html b/layouts/home.html index 0df6597..e0e8308 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -1,7 +1,3 @@ {{ define "main" }} {{ .Content }} - {{ range site.RegularPages }} - <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> - {{ .Summary }} - {{ end }} {{ end }} diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css index 4d81448..e586a09 100644 --- a/themes/aoidh/assets/aoidh.css +++ b/themes/aoidh/assets/aoidh.css @@ -120,7 +120,7 @@ h1, h2, h3 { table { border-collapse: collapse; text-align: left; - margin-bottom: 1.5rem; + margin-bottom: 1rem; } thead tr { @@ -160,3 +160,8 @@ cite { display: block; text-align: right } + +img { + display: block; + margin: auto; +} |