Skip to content

Commit

Permalink
Switch to hugo-book theme
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoChen1024 committed Sep 9, 2023
1 parent 59f828c commit 933dd3d
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-book"]
path = themes/hugo-book
url = https://github.com/alex-shpak/hugo-book
8 changes: 0 additions & 8 deletions content/_index.md

This file was deleted.

8 changes: 8 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "About"
date: 2023-09-09T20:45:11+08:00
draft: false
---
# About NeoNetwork Ham Radio Blog

## Neo_Chen (BU4AK)
14 changes: 14 additions & 0 deletions content/docs/testdoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "Testdoc"
weight: 1
draft: false
# bookFlatSection: false
# bookToc: true
# bookHidden: false
# bookCollapseSection: false
# bookComments: false
# bookSearchExclude: false
---
# Test Docs

This is a test.
6 changes: 6 additions & 0 deletions content/posts/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "First test article"
date: 2023-09-09T19:23:32+08:00
draft: false
---
test article
47 changes: 10 additions & 37 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,54 +1,27 @@
baseURL = 'http://ham.neocloud.tw/'
languageCode = 'zh-TW'
title = 'NeoNetwork Ham Radio Blog'
theme = 'brutalist-minimalist'
theme = 'hugo-book'
relativeURLs = true
copyright = "CC4.0 BY-SA"
copyright = "© NeoNetwork, Licensed under CC4.0 BY-SA"
enableGitInfo = true

[markup]
[markup.highlight]
noClasses=false
#[markup]
# [markup.highlight]
# noClasses=false
# [markup.tableOfContents]
# endLevel = 4
# ordered = true
# startLevel = 3


[params]

# --- Site config ---------------------------------

subtitle = 'A simple blog for Ham Radio'
siteBasename = 'NeoNetwork Ham Radio Blog'
subtitle = 'A simple blog for Ham Radio'
copyright = "NeoCloud"
copyrightYear = "2021-2023" # for site in case there is no page date, not yet implemented

# --- Style tweaking ------------------------------

bloglistLength = 5 # number of blog posts to turn up at front page, 0 for
# none.

highlightStyle = 'emacs' # builtin styles: emacs, pygment. Empty for none.
enableKatex = true # If off, math is rendered as plain text (verbatim)

# Only set the following parameters if you create
# the css files referenced in them.
#
styleParametersCSS = 'css/style-parameters.css'
styleTweaksCSS = 'css/style-tweaks.css'
# fontSettingsCSS = 'css/font-settings.css'

# Fall back to more minimalism
styleMinimalistOnly = false
noStylingAtAll = false # we use that to see how this might render in text mode

# Overriding responsiveness
# responsivenessLimitsCSS = 'css/NONE.css'
# limitCompactMenu = 55
# limitHamburgerMenu = 40
# limitCompactLayout = 30
# limitNarrowLayout = 25
# limitVeryNarrowLayout = 17

averageCharWidth = 0.7
BookTheme = 'dark'
BookRepo = 'https://github.com/NeoCloud/HamRadio-Homepage'
BookPortableLinks = true
BookSection = '*'
1 change: 1 addition & 0 deletions themes/hugo-book
Submodule hugo-book added at 3f1bcc

0 comments on commit 933dd3d

Please sign in to comment.