diff options
| -rw-r--r-- | hugo.toml | 16 | ||||
| -rw-r--r-- | layouts/baseof.html | 2 | ||||
| -rw-r--r-- | themes/aoidh/hugo.toml | 20 |
3 files changed, 16 insertions, 22 deletions
@@ -2,5 +2,19 @@ baseURL = 'https://www.samanthony.xyz/' languageCode = 'en-us' title = "Sam Anthony's Webpage" theme = 'aoidh' + [params] - author = "Sam Anthony" + author = "Sam Anthony" + +[menus] + [[menus.main]] + name = 'Home' + pageRef = '/' + + [[menus.main]] + name = 'Posts' + pageRef = '/posts' + + [[menus.main]] + name = 'Tags' + pageRef = '/tags' diff --git a/layouts/baseof.html b/layouts/baseof.html index dd61d01..6cdd0e6 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="{{ site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}"> +<html lang="{{ site.Language.LanguageCode }}"> <head> {{ partial "head.html" . }} </head> diff --git a/themes/aoidh/hugo.toml b/themes/aoidh/hugo.toml index 5c26950..1410ef9 100644 --- a/themes/aoidh/hugo.toml +++ b/themes/aoidh/hugo.toml @@ -1,23 +1,3 @@ -baseURL = 'https://example.org/' -languageCode = 'en-US' -title = 'My New Hugo Site' - -[menus] - [[menus.main]] - name = 'Home' - pageRef = '/' - weight = 10 - - [[menus.main]] - name = 'Posts' - pageRef = '/posts' - weight = 20 - - [[menus.main]] - name = 'Tags' - pageRef = '/tags' - weight = 30 - [module] [module.hugoVersion] extended = false |