Skip to content

Commit

Permalink
Copied new hugo template over to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
NotBjoggisAtAll committed Dec 22, 2023
1 parent 5e3255e commit dbf6300
Show file tree
Hide file tree
Showing 147 changed files with 5,593 additions and 3,878 deletions.
18 changes: 3 additions & 15 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
[submodule "themes/gokarna"]
path = themes/gokarna
url = https://github.com/526avijitgupta/gokarna.git
[submodule "themes/hugo-blog-awesome"]
path = themes/hugo-blog-awesome
url = https://github.com/hugo-sid/hugo-blog-awesome.git
[submodule "themes/tailwind"]
path = themes/tailwind
url = https://github.com/tomowang/hugo-theme-tailwind.git
[submodule "themes/hugo-bearcub"]
path = themes/hugo-bearcub
url = https://github.com/clente/hugo-bearcub
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Bjoggis.com

# Install theme

```bash
git init
git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically)
```
6 changes: 0 additions & 6 deletions archetypes/default.md

This file was deleted.

18 changes: 0 additions & 18 deletions config.toml

This file was deleted.

5 changes: 0 additions & 5 deletions content/blog/_index.md

This file was deleted.

15 changes: 0 additions & 15 deletions content/index.md

This file was deleted.

21 changes: 12 additions & 9 deletions content/blog/hello-world.md → content/posts/hello-world.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
+++
title = "Hello World!"
date = "2023-12-20"
tags = [
"hello",
]
+++

Welcome to my first post! This is my first time trying to write a blog and I'm excited to see how it goes.
---
author: Jonas Bjørge Andersen
draft: false
date: 2023-12-22
title: Hello World
summary: Welcome to my first post!
tags: ["hello"]
---

Welcome to my first post!

This is my first time trying to write a blog and I'm excited to see how it goes.

As my day job I work as a Java developer at PayEx in Oslo, Norway. I primarily work with Spring Boot, but also a bit of frontend work using Vue.

Expand Down
137 changes: 137 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
baseURL: "https://bjoggis.com/"
title: Bjoggis
paginate: 5
theme: PaperMod

enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false

enableEmoji: true

# googleAnalytics: UA-123-45

minify:
disableXML: true
minifyOutput: true

params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: Bjoggis
description: "Blog about Java, Spring Boot, and other stuff"
keywords: [Blog, Java, Spring Boot, ]
author: Jonas Bjørge Andersen
# author: ["Me", "You"] # multiple authors
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "January 2, 2006"
defaultTheme: auto # dark, light
disableThemeToggle: false

ShowReadingTime: true
ShowShareButtons: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
showtoc: false
tocopen: false


assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"

label:
text: "Home"
icon: /apple-touch-icon.png
iconHeight: 35

# profile-mode
profileMode:
enabled: false # needs to be explicitly set
title: ExampleSite
subtitle: "This is subtitle"
imageUrl: "<img location>"
imageWidth: 120
imageHeight: 120
imageTitle: my image
buttons:
- name: Posts
url: posts
- name: Tags
url: tags

# home-info mode
homeInfoParams:
Title: Bjoggis
Content: "Blog about Java, Spring Boot, and other stuff"

socialIcons:
- name: x
url: "https://twitter.com/NotBjoggisAtAll"
- name: github
url: "https://github.com/NotBjoggisAtAll"

# analytics:
# google:
# SiteVerificationTag: "XYZabc"
# bing:
# SiteVerificationTag: "XYZabc"
# yandex:
# SiteVerificationTag: "XYZabc"

cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page

# editPost:
# URL: "https://github.com/<path_to_repo>/content"
# Text: "Suggest Changes" # edit text
# appendFilePath: true # to append file path to Edit link

# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: posts
name: posts
url: /posts/
weight: 10
- identifier: tags
name: tags
url: /tags/
weight: 30
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
markup:
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai
taxonomies:
tag: tags
Loading

0 comments on commit dbf6300

Please sign in to comment.