Skip to content

Commit

Permalink
config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fooftilly committed Dec 1, 2024
1 parent 90f0b1a commit 43fa742
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 170 deletions.
295 changes: 131 additions & 164 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
baseURL: "https://www.peroniko.xyz/"
title: Nikola Perović
paginate: 5
pagination:
pagerSize: 5
theme:
- hugo-PaperMod
- hugo-cloak-email
Expand All @@ -16,182 +17,148 @@ pygmentsUseClasses: true
googleAnalytics: G-7XL7CEV7EW

minify:
disableXML: true
# minifyOutput: true
disableXML: true
# minifyOutput: true

languages:
en:
languageName: "English"
weight: 1
taxonomies:
category: categories
tag: tags
series: series
menu:
main:
- name: Posts
url: posts
weight: 5
- name: Search
url: search/
weight: 10
- name: Tags
url: tags/
weight: 10

sr:
languageName: "Srpski"
languageAltTitle: Serbian
weight: 2
en:
languageName: "English"
weight: 1
taxonomies:
category: categories
tag: tags
series: series
menu:
main:
- name: Posts
url: /posts
weight: 5
- name: Search
url: /search
weight: 10
- name: Tags
url: /tags
weight: 10
params:
profileMode:
enabled: true
title: Nikola Perović
taxonomies:
tag: SRtags
profileMode:
enabled: true
title: Nikola Perović
imageUrl: "avatar.webp"
imageTitle: Avatar
# imageWidth: 120
# imageHeight: 120
subtitle: ""
# buttons:
# - name: Objave
# url: posts
menu:
main:
- name: Objave
url: posts
weight: 5
- name: Pretraga
url: /search
weight: 10
- name: Tags
url: /srtags
weight: 10


outputs:
home:
- HTML
- RSS
- JSON

params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Personal Website"
author: Nikola Perović

defaultTheme: auto
# disableThemeToggle: true
ShowShareButtons: true
ShowReadingTime: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
ShowToc: true
ShowWordCount: true
comments: true
images: ["featured.svg"]
imageUrl: "avatar.webp"
imageTitle: Avatar

profileMode:
sr:
languageName: "Srpski"
languageAltTitle: Serbian
weight: 2
title: Nikola Perović
taxonomies:
tag: tags
menu:
main:
- name: Objave
url: /sr/posts
weight: 5
- name: Pretraga
url: /search
weight: 10
- name: Tags
url: /tags
weight: 10
params:
profileMode:
enabled: true
title: Nikola Perović
imageUrl: "avatar.webp"
imageTitle: Avatar
# imageWidth: 120
# imageHeight: 120
# buttons:
# - name: Posts
# url: /posts

homeInfoParams:
Title: "Nikola Perović"
Content:

socialIcons:
- name: github
url: "https://github.com/Fooftilly"
- name: letterboxd
url: "https://letterboxd.com/Fooftilly"
- name: trakt
url: "https://trakt.tv/users/cobe10"
- name: RateYourMusic
url: "https://rateyourmusic.com/~Fooftilly"
- name: RSS
url: "index.xml"

editPost:
URL: "https://github.com/Fooftilly/Fooftilly.github.io/tree/master/content"
Text: "🖍️" # edit text
appendFilePath: true # to append file path to Edit link

label:
text: "Nikola Perović"
icon: favicon.svg
iconHeight: 35

# analytics:
# google:
# SiteVerificationTag: "XYZabc"

assets:
disableHLJS: true
favicon: "favicon.svg"
favicon16x16: "favicon-16x16.png"
favicon32x32: "favicon-32x32.png"
apple_touch_icon: "apple-touch-icon.png"
safari_pinned_tab: "safari-pinned-tab.svg"

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

# 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"]
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Personal Website"
author: Nikola Perović
defaultTheme: auto
ShowShareButtons: true
ShowReadingTime: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
ShowToc: true
ShowWordCount: true
comments: true
images: ["featured.svg"]

profileMode:
enabled: true
title: Nikola Perović
imageUrl: "avatar.webp"
imageTitle: Avatar

homeInfoParams:
Title: "Nikola Perović"

socialIcons:
- name: github
url: "https://github.com/Fooftilly"
- name: bluesky
url: "https://bsky.app/profile/peroniko.xyz"
- name: letterboxd
url: "https://letterboxd.com/Fooftilly"
- name: trakt
url: "https://trakt.tv/users/cobe10"
- name: RateYourMusic
url: "https://rateyourmusic.com/~Fooftilly"
- name: RSS
url: "index.xml"

editPost:
URL: "https://github.com/Fooftilly/Fooftilly.github.io/tree/master/content"
Text: "🖍️" # edit text
appendFilePath: true # to append file path to Edit link

label:
text: "Nikola Perović"
icon: favicon.svg
iconHeight: 35

assets:
disableHLJS: true
favicon: "favicon.svg"
favicon16x16: "favicon-16x16.png"
favicon32x32: "favicon-32x32.png"
apple_touch_icon: "apple-touch-icon.png"
safari_pinned_tab: "safari-pinned-tab.svg"

markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false

privacy:
vimeo:
disabled: false
simple: true

twitter:
disabled: false
enableDNT: true
simple: true

instagram:
disabled: false
simple: true

youtube:
disabled: false
privacyEnhanced: true
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true

services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true
4 changes: 2 additions & 2 deletions content/posts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Posts"
layout: "archives"
url: "/content/**"
summary: "archives"
url: "/posts/"
summary: "Archives"
---
4 changes: 2 additions & 2 deletions content/posts.sr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Objave"
layout: "archives"
url: "/content/posts"
summary: "archives"
url: "/sr/posts/"
summary: "Archives"
---
2 changes: 1 addition & 1 deletion content/posts/torrentRatio.sr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Kalkulator za torent ratio"
date: 2023-02-26
lastmod: 2023-02-26
SRtags: ["Torent", "Ratio","Kalkulator"]
tags: ["Torent", "Ratio","Kalkulator"]
---

## Ratio kalkulator
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-PaperMod
Submodule hugo-PaperMod updated 51 files
+112 −0 .github/ISSUE_TEMPLATE/bug.yaml
+0 −50 .github/ISSUE_TEMPLATE/bug_report.md
+1 −1 .github/ISSUE_TEMPLATE/config.yml
+32 −0 .github/ISSUE_TEMPLATE/enhancement.yaml
+0 −7 .github/ISSUE_TEMPLATE/new-blank-issue.md
+0 −17 .github/stale.yml
+8 −11 .github/workflows/gh-pages.yml
+1 −1 LICENSE
+11 −8 README.md
+3 −5 assets/css/common/main.css
+7 −3 assets/css/common/post-entry.css
+25 −18 assets/css/common/post-single.css
+5 −4 assets/css/common/profile-mode.css
+2 −2 assets/css/core/license.css
+2 −2 assets/css/core/theme-vars.css
+6 −0 assets/css/core/zmedia.css
+0 −63 assets/css/hljs/an-old-hope.min.css
+24 −0 assets/css/includes/chroma-mod.css
+86 −0 assets/css/includes/chroma-styles.css
+2 −2 assets/css/includes/scroll-bar.css
+0 −44 assets/js/highlight.min.js
+2 −2 assets/js/license.js
+7 −7 i18n/he.yaml
+33 −0 i18n/oc.yaml
+33 −0 i18n/pa.yaml
+33 −0 i18n/pnb.yaml
+33 −0 i18n/ro.yaml
+33 −0 i18n/sk.yaml
+3 −3 i18n/tr.yaml
+22 −1 layouts/_default/_markup/render-image.html
+22 −6 layouts/_default/archives.html
+2 −2 layouts/_default/baseof.html
+10 −3 layouts/_default/list.html
+59 −27 layouts/_default/rss.xml
+10 −3 layouts/_default/single.html
+1 −1 layouts/partials/breadcrumbs.html
+6 −5 layouts/partials/cover.html
+13 −4 layouts/partials/footer.html
+5 −18 layouts/partials/head.html
+1 −1 layouts/partials/header.html
+1 −1 layouts/partials/home_info.html
+1 −1 layouts/partials/index_profile.html
+66 −52 layouts/partials/share_icons.html
+4 −3 layouts/partials/social_icons.html
+356 −167 layouts/partials/svg.html
+47 −0 layouts/partials/templates/_funcs/get-page-images.html
+77 −47 layouts/partials/templates/opengraph.html
+12 −3 layouts/partials/templates/schema_json.html
+22 −24 layouts/partials/templates/twitter_cards.html
+2 −2 layouts/partials/toc.html
+1 −1 theme.toml

0 comments on commit 43fa742

Please sign in to comment.