big update
This commit is contained in:
parent
6fa584bdf2
commit
bd833f5fba
22 changed files with 84 additions and 129 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,3 +1,6 @@
|
||||||
[submodule "themes/PaperMod"]
|
[submodule "themes/PaperMod"]
|
||||||
path = themes/PaperMod
|
path = themes/PaperMod
|
||||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
|
[submodule "themes/hugo-book"]
|
||||||
|
path = themes/hugo-book
|
||||||
|
url = https://github.com/alex-shpak/hugo-book
|
||||||
|
|
|
||||||
17
content/_index.md
Normal file
17
content/_index.md
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
title: EdFig.dev
|
||||||
|
---
|
||||||
|
|
||||||
|
# <u>**Ed**</u>uardo <u>**Fig**</u>ueroa
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
Self hosted blog for Eduardo Figueroa. S
|
||||||
|
|
||||||
|
Subjects include
|
||||||
|
- DIY projects
|
||||||
|
- linux
|
||||||
|
- IAC
|
||||||
|
- and other things.
|
||||||
5
content/docs/_index.md
Normal file
5
content/docs/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Posts
|
||||||
|
bookFlatSection: true
|
||||||
|
weight: 1
|
||||||
|
---
|
||||||
5
content/docs/posts/_index.md
Normal file
5
content/docs/posts/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Posts
|
||||||
|
bookCollapseSection: true
|
||||||
|
weight: 1
|
||||||
|
---
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
title: "Search" # in any language you want
|
|
||||||
layout: "search" # necessary for search
|
|
||||||
# url: "/archive"
|
|
||||||
# description: "Description for Search"
|
|
||||||
summary: "search"
|
|
||||||
placeholder: "Search Posts."
|
|
||||||
---
|
|
||||||
160
hugo.yaml
160
hugo.yaml
|
|
@ -1,136 +1,54 @@
|
||||||
baseURL: "https://edfig.dev/"
|
baseURL: "https://edfig.dev/"
|
||||||
title: EdFig.dev
|
title: EdFig.dev
|
||||||
paginate: 5
|
theme: hugo-book
|
||||||
theme: PaperMod
|
|
||||||
|
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
buildDrafts: false
|
buildDrafts: false
|
||||||
buildFuture: false
|
buildFuture: false
|
||||||
buildExpired: false
|
buildExpired: false
|
||||||
|
disablePathToLower: true
|
||||||
|
enableGitInfo: true
|
||||||
|
|
||||||
outputs:
|
markup:
|
||||||
home:
|
goldmark:
|
||||||
- HTML
|
renderer:
|
||||||
- RSS
|
unsafe: true
|
||||||
- JSON # necessary for search
|
tableOfContents:
|
||||||
|
startLevel: 1
|
||||||
minify:
|
highlight:
|
||||||
disableXML: true
|
style: monokai
|
||||||
minifyOutput: true
|
codeFences: true
|
||||||
|
lineNos: true
|
||||||
|
guessSyntax: true
|
||||||
|
|
||||||
params:
|
params:
|
||||||
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
BookTheme: dark
|
||||||
title: EdDig.dev
|
BookSearch: true
|
||||||
description: "A blog"
|
BookToC: true
|
||||||
keywords: [Blog, Portfolio, Linux]
|
BookSection: docs
|
||||||
author: "Eduardo Figueroa"
|
BookDateFormat: "January 2, 2006"
|
||||||
# author: ["Me", "You"] # multiple authors
|
BookComments: false
|
||||||
images: ["<link or path of image for opengraph, twitter-cards>"]
|
BookEditLink: 'https://github.com/efigueroa/figsystems/edit/main/content/{{ .Path }}'
|
||||||
DateFormat: "January 2, 2006"
|
|
||||||
defaultTheme: auto # dark, light
|
|
||||||
disableThemeToggle: false
|
|
||||||
editPost:
|
|
||||||
URL: "https://github.com/efigueroa/figsystems/content"
|
|
||||||
Text: "Suggest Changes" # edit text
|
|
||||||
appendFilePath: true # to append file path to Edit link
|
|
||||||
|
|
||||||
ShowReadingTime: true
|
|
||||||
ShowShareButtons: false
|
|
||||||
ShowPostNavLinks: true
|
|
||||||
ShowBreadCrumbs: true
|
|
||||||
ShowCodeCopyButtons: true
|
|
||||||
ShowWordCount: false
|
|
||||||
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: "EdFig.dev"
|
|
||||||
icon: /apple-touch-icon.png
|
|
||||||
iconHeight: 35
|
|
||||||
|
|
||||||
# home-info mode
|
|
||||||
homeInfoParams:
|
|
||||||
Title: "Hi there \U0001F44B"
|
|
||||||
Content: Self hosted blog for Eduardo Figueroa. Subjects include DIY projects, linux, and other things.
|
|
||||||
|
|
||||||
socialIcons:
|
|
||||||
- name: mastodon
|
|
||||||
url: "https://mastodon.social/@edfig"
|
|
||||||
- name: bluesky
|
|
||||||
url: "https://bsky.app/profile/edfig.dev"
|
|
||||||
- name: github
|
|
||||||
url: "https://github.com/efigueroa"
|
|
||||||
- name: rss
|
|
||||||
url: "https://edfig.dev/index.xml"
|
|
||||||
|
|
||||||
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/efigueroa/figsystems/tree/main/content"
|
|
||||||
Text: "Suggest A Change" # 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:
|
menu:
|
||||||
main:
|
before:
|
||||||
- identifier: categories
|
- name: "Tags"
|
||||||
name: "#categories"
|
url: "/tags/"
|
||||||
url: /categories/
|
|
||||||
weight: 10
|
weight: 10
|
||||||
- identifier: tags
|
- name: "Categories"
|
||||||
name: "#tags"
|
url: "/categories/"
|
||||||
url: /tags/
|
|
||||||
weight: 20
|
weight: 20
|
||||||
- identifier: search
|
|
||||||
name: "#search"
|
after:
|
||||||
url: /search
|
- name: "GitHub"
|
||||||
|
url: "https://github.com/efigueroa"
|
||||||
|
weight: 10
|
||||||
|
- name: "Mastodon"
|
||||||
|
url: "https://mastodon.social/@edfig"
|
||||||
|
weight: 20
|
||||||
|
- name: "Bluesky"
|
||||||
|
url: "https://bsky.app/profile/edfig.dev"
|
||||||
weight: 30
|
weight: 30
|
||||||
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
|
- name: "RSS"
|
||||||
pygmentsUseClasses: true
|
url: "https://edfig.dev/index.xml"
|
||||||
markup:
|
weight: 40
|
||||||
highlight:
|
|
||||||
noClasses: false
|
|
||||||
#anchorLineNos: true
|
|
||||||
codeFences: true
|
|
||||||
guessSyntax: true
|
|
||||||
lineNos: true
|
|
||||||
style: monokai
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
12
layouts/taxonomy/list.html
Normal file
12
layouts/taxonomy/list.html
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<article class="markdown book-article">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<ul>
|
||||||
|
{{ range .Pages }}
|
||||||
|
<li>
|
||||||
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
||||||
|
{"Target":"book.min.8be08ee19c78fece5778ccbad7b7920c47943153ee0c9e856094873c56dca415.css","MediaType":"text/css","Data":{"Integrity":"sha256-i+CO4Zx4/s5XeMy617eSDEeUMVPuDJ6FYJSHPFbcpBU="}}
|
||||||
1
themes/hugo-book
Submodule
1
themes/hugo-book
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 81a841c92d62f2ed8d9134b0b18623b8b2471661
|
||||||
Loading…
Reference in a new issue