diff --git a/config.yml b/config.yml index ee45bf9..581835d 100644 --- a/config.yml +++ b/config.yml @@ -1,6 +1,7 @@ baseURL: "https://www.peroniko.xyz/" title: Nikola Perović -paginate: 5 +pagination: + pagerSize: 5 theme: - hugo-PaperMod - hugo-cloak-email @@ -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 diff --git a/content/posts.md b/content/posts.md index f58750e..32816be 100644 --- a/content/posts.md +++ b/content/posts.md @@ -1,6 +1,6 @@ --- title: "Posts" layout: "archives" -url: "/content/**" -summary: "archives" +url: "/posts/" +summary: "Archives" --- diff --git a/content/posts.sr.md b/content/posts.sr.md index f43dc3a..0fb7ba3 100644 --- a/content/posts.sr.md +++ b/content/posts.sr.md @@ -1,6 +1,6 @@ --- title: "Objave" layout: "archives" -url: "/content/posts" -summary: "archives" +url: "/sr/posts/" +summary: "Archives" --- diff --git a/content/posts/torrentRatio.sr.md b/content/posts/torrentRatio.sr.md index fecd8a3..1fa73bf 100644 --- a/content/posts/torrentRatio.sr.md +++ b/content/posts/torrentRatio.sr.md @@ -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 diff --git a/themes/hugo-PaperMod b/themes/hugo-PaperMod index b288ede..3e53621 160000 --- a/themes/hugo-PaperMod +++ b/themes/hugo-PaperMod @@ -1 +1 @@ -Subproject commit b288ede80cbd70151e2f07f2e09ad6258e64f7fa +Subproject commit 3e5362100777a9426e05ef30e972800cabb54f21