Skip to content

Commit 061262f

Browse files
committed
Add proper alignment to home page override content
1 parent c30b671 commit 061262f

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A fast, minimal, responsive [Hugo](https://gohugo.io/) theme for blogs.
66

77
For a live demo of the theme, see at:
88
- [themes.gohugo.io/devise](https://themes.gohugo.io/devise)
9-
- [austingebauer.com](https://austingebauer.com)
9+
- [austingebauer.dev](https://austingebauer.dev)
1010

1111
## Features
1212

@@ -158,7 +158,7 @@ hugo server --themesDir ../.. --watch --verbose --cleanDestinationDir --disableF
158158

159159
For a live demo of the theme, see at:
160160
- [themes.gohugo.io/devise](https://themes.gohugo.io/devise)
161-
- [austingebauer.com](https://austingebauer.com)
161+
- [austingebauer.dev](https://austingebauer.dev)
162162

163163
## Contributing
164164

layouts/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{{ define "main" }}
2+
<!-- To overwrite the default content for the theme which shows posts by
3+
category, populate your content/_index.html file. It will be rendered
4+
instead of the default. For details on this configuration capability,
5+
see https://gohugo.io/templates/homepage/#add-content-and-front-matter-to-the-homepage
6+
-->
27
{{ if .Content }}
3-
{{ .Content }}
8+
<div class="pl-sm-4 ml-sm-5">
9+
{{ .Content }}
10+
</div>
411
{{ else }}
512
{{- partial "category-posts.html" . -}}
613
{{ end }}

0 commit comments

Comments
 (0)