Skip to content

Commit

Permalink
Add skeleton Hugo site based on Eureka theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rjosephwright authored and cloudboss committed May 14, 2023
1 parent 3fda1e7 commit 2444e19
Show file tree
Hide file tree
Showing 8 changed files with 147 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
.hugo_build.lock
resources/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/eureka"]
path = themes/eureka
url = https://github.com/wangchucheng/hugo-eureka.git
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

40 changes: 40 additions & 0 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
baseURL: /
title: Cloudboss

theme: eureka

paginate: 3
copyright: >
&copy; 2023 <a href="https://cloudboss.co/">Joseph Wright</a>
enableEmoji: true
enableGitInfo: false
summaryLength: 75

defaultContentLanguage: en
hasCJKLanguage: false
defaultContentLanguageInSubdir: false

# Uncomment for google analytics
# googleAnalytics: UA-123-45

markup:
# Do not modify markup.highlight
highlight:
codeFences: false
noClasses: false
tableOfContents:
startLevel: 2
endLevel: 6
ordered: false
goldmark:
renderer:
unsafe: true

taxonomies:
category: categories
tag: tags
series: series
author: authors

build:
useResourceCacheWhen: always
3 changes: 3 additions & 0 deletions config/_default/languages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
en:
languageCode: en
languageName: English
10 changes: 10 additions & 0 deletions config/_default/menus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
main:
- name: About
url: '#about'
weight: 1
- name: Posts
url: /posts/
weight: 2
- name: Docs
url: /docs/
weight: 3
81 changes: 81 additions & 0 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
mainSections:
- posts
description: Eureka is a elegant and powerful theme for Hugo.

repoEditURL:

dateFormat:

titleSeparator:

# Options: auto, light and dark. Default is auto.
colorScheme:

# Colors and fonts. Default style is data/styles/default.yaml/
style:

# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
siteType: Organization
icon: images/icon.png
publisherName: Cloudboss Corporation
publisherLogo:

highlight:
handler: highlightjs

highlightjs:
# highlight.js doesn't bundle every language. So please specify additional languages you want here.
# See https://github.com/highlightjs/cdn-release/tree/main/build/languages for available languages.
languages:
- dart
# See https://github.com/highlightjs/cdn-release/tree/main/build/styles for available styles.
style: base16/solarized-light

math:
handler: katex

# katex:
# # Browse https://katex.org/docs/options.html to see the options available.
# # KaTeX's Auto-render ignores `displayMode` property of the options, so this property will not work.
# # You can list the key and value you want as below.
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
# # For example, `throwOnError` should be written as `throw-On-Error` or other acceptable formats.
# leqno:

comment:
# Options: disqus, commento, valine and utterances.
handler:

# disqus:
# shortname:

# utterances:
# # Browse https://utteranc.es/ to see the options available.
# # If you want the color scheme of utterances to follow eureka's, you can set `theme: eureka`.
# repo:
# issue-term:
# theme:

# commento:
# # If self-hosting, please enter the url (e.g. https://commento.example.com) here. Otherwise leave empty.
# url:

# valine:
# # Browse https://valine.js.org/en/configuration.html to see the options available.
# # You can list the key and value you want as below.
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
# # For example, `appId` should be written as `app-Id` or other acceptable formats.
# app-Id:
# app-Key:

diagram:
handler: mermaid

# mermaid:
# # Browse https://mermaid-js.github.io/mermaid/#/Setup to see the options available.
# # You can list the key and value you want as below.
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
# # For example, `diagramPadding` should be written as `diagram-Padding` or other acceptable formats.
# theme:
# flowchart:
# diagram-padding:
1 change: 1 addition & 0 deletions themes/eureka
Submodule eureka added at 749f68

0 comments on commit 2444e19

Please sign in to comment.