Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use papermod #61

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions assets/css/custom.css

This file was deleted.

34 changes: 34 additions & 0 deletions assets/css/extended/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
:root {
--theme: rgb(255, 255, 255);
--entry: rgb(255, 255, 255);
--primary: rgb(55, 65, 81);
--secondary: rgba(55, 65, 81);
--code-bg: rgb(255, 255, 255);
--border: rgb(255, 255, 255);
--main-width: 56rem;
--nav-width: 56rem;
}

.dark {
--primary: rgb(248, 250, 252);
--entry: rgb(29, 30, 32);
--border: rgb(29, 30, 32);
}


.entry-header h2, .post-title {
font-size: 3rem;
}

.entry-content {
margin: 18px 0;
font-size: 18px;
}

.header {
padding: 2.5rem 0px;
}

.post-entry {
padding: var(--gap) 0px;
}
165 changes: 165 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
baseURL: "https://brauser.io"
title: /home/robert
paginate: 5

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

minify:
disableXML: true
minifyOutput: true

params:
custom_css:
- "css/custom.css"
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: /home/robert
description: ""
keywords: [Blog]
author: Robert
# 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: false
ShowPostNavLinks: false
ShowBreadCrumbs: false
ShowCodeCopyButtons: false
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: true
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
hideFooter: true
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/robert"
icon: images/favicon.ico
iconHeight: 20

# 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:
# Content:

socialIcons:
- name: github
url: "https://github.com/Flipez"
- name: linkedin
url: https://www.linkedin.com/in/mueller-r/
- name: letterboxd
url: https://letterboxd.com/Flipez/
- name: instagram
url: https://www.instagram.com/rueller.mobert

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/Flipez/blog.auch.cool/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
limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- name: About
url: /about/
weight: 1
- pre: 📚
name: Books
url: /books
weight: 3
- pre: 🥨
name: Munich
url: /munich/
weight: 4
- pre: 🥤
name: Spezi & Cola
url: /spezi
weight: 5
- pre: 📷
name: Photos
url: https://photos.auch.cool
weight: 6
- name: 🔎
url: /search/
weight: 10

# 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
goldmark:
renderer:
unsafe: true

outputs:
home:
- HTML
- RSS
- JSON

module:
imports:
- path: github.com/adityatelange/hugo-PaperMod
10 changes: 0 additions & 10 deletions config/_default/config.toml

This file was deleted.

13 changes: 0 additions & 13 deletions config/_default/languages.en.toml

This file was deleted.

13 changes: 0 additions & 13 deletions config/_default/markup.toml

This file was deleted.

54 changes: 0 additions & 54 deletions config/_default/menus.en.toml

This file was deleted.

2 changes: 0 additions & 2 deletions config/_default/module.toml

This file was deleted.

Loading