big update

This commit is contained in:
Eduardo Figueroa 2026-02-24 14:20:19 -08:00
parent 6fa584bdf2
commit bd833f5fba
No known key found for this signature in database
GPG key ID: E4B7BBE6F7D53330
22 changed files with 84 additions and 129 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
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
View 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
View file

@ -0,0 +1,5 @@
---
title: Posts
bookFlatSection: true
weight: 1
---

View file

@ -0,0 +1,5 @@
---
title: Posts
bookCollapseSection: true
weight: 1
---

View file

@ -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
View file

@ -1,136 +1,54 @@
baseURL: "https://edfig.dev/"
title: EdFig.dev
paginate: 5
theme: PaperMod
theme: hugo-book
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
disablePathToLower: true
enableGitInfo: true
outputs:
home:
- HTML
- RSS
- JSON # necessary for search
minify:
disableXML: true
minifyOutput: true
markup:
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1
highlight:
style: monokai
codeFences: true
lineNos: true
guessSyntax: true
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: EdDig.dev
description: "A blog"
keywords: [Blog, Portfolio, Linux]
author: "Eduardo Figueroa"
# 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
editPost:
URL: "https://github.com/efigueroa/figsystems/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
BookTheme: dark
BookSearch: true
BookToC: true
BookSection: docs
BookDateFormat: "January 2, 2006"
BookComments: false
BookEditLink: 'https://github.com/efigueroa/figsystems/edit/main/content/{{ .Path }}'
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:
main:
- identifier: categories
name: "#categories"
url: /categories/
before:
- name: "Tags"
url: "/tags/"
weight: 10
- identifier: tags
name: "#tags"
url: /tags/
- name: "Categories"
url: "/categories/"
weight: 20
- identifier: search
name: "#search"
url: /search
after:
- 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
# 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
- name: "RSS"
url: "https://edfig.dev/index.xml"
weight: 40

View 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

View file

@ -0,0 +1 @@
{"Target":"book.min.8be08ee19c78fece5778ccbad7b7920c47943153ee0c9e856094873c56dca415.css","MediaType":"text/css","Data":{"Integrity":"sha256-i+CO4Zx4/s5XeMy617eSDEeUMVPuDJ6FYJSHPFbcpBU="}}

1
themes/hugo-book Submodule

@ -0,0 +1 @@
Subproject commit 81a841c92d62f2ed8d9134b0b18623b8b2471661