First posts and some customization
This commit is contained in:
parent
e41189e572
commit
c05a657583
10 changed files with 349 additions and 3 deletions
79
.github/workflows/build.yml
vendored
Normal file
79
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
# Sample workflow for building and deploying a Hugo site to GitHub Pages
|
||||||
|
name: Deploy Hugo site to Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Runs on pushes targeting the default branch
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||||
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
# Default to bash
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# Build job
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
HUGO_VERSION: 0.128.0
|
||||||
|
steps:
|
||||||
|
- name: Install Hugo CLI
|
||||||
|
run: |
|
||||||
|
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
||||||
|
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
|
- name: Install Dart Sass
|
||||||
|
run: sudo snap install dart-sass
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Setup Pages
|
||||||
|
id: pages
|
||||||
|
uses: actions/configure-pages@v5
|
||||||
|
- name: Install Node.js dependencies
|
||||||
|
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||||
|
- name: Build with Hugo
|
||||||
|
env:
|
||||||
|
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
|
||||||
|
HUGO_ENVIRONMENT: production
|
||||||
|
TZ: America/Los_Angeles
|
||||||
|
run: |
|
||||||
|
hugo \
|
||||||
|
--gc \
|
||||||
|
--minify \
|
||||||
|
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: ./public
|
||||||
|
|
||||||
|
# Deployment job
|
||||||
|
deploy:
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "themes/PaperMod"]
|
||||||
|
path = themes/PaperMod
|
||||||
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
37
archetypes/page.md
Normal file
37
archetypes/page.md
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
title: "My 1st post"
|
||||||
|
date: 2020-09-15T11:30:03+00:00
|
||||||
|
# weight: 1
|
||||||
|
# aliases: ["/first"]
|
||||||
|
tags: ["first"]
|
||||||
|
author: "Me"
|
||||||
|
# author: ["Me", "You"] # multiple authors
|
||||||
|
showToc: true
|
||||||
|
TocOpen: false
|
||||||
|
draft: false
|
||||||
|
hidemeta: false
|
||||||
|
comments: false
|
||||||
|
description: "Desc Text."
|
||||||
|
canonicalURL: "https://canonical.url/to/page"
|
||||||
|
disableHLJS: true # to disable highlightjs
|
||||||
|
disableShare: false
|
||||||
|
disableHLJS: false
|
||||||
|
hideSummary: false
|
||||||
|
searchHidden: true
|
||||||
|
ShowReadingTime: true
|
||||||
|
ShowBreadCrumbs: true
|
||||||
|
ShowPostNavLinks: true
|
||||||
|
ShowWordCount: true
|
||||||
|
ShowRssButtonInSectionTermList: true
|
||||||
|
UseHugoToc: true
|
||||||
|
cover:
|
||||||
|
image: "<image path/url>" # image path/url
|
||||||
|
alt: "<alt text>" # alt text
|
||||||
|
caption: "<text>" # display caption under cover
|
||||||
|
relative: false # when using page bundles set this to true
|
||||||
|
hidden: true # only hide on current single page
|
||||||
|
editPost:
|
||||||
|
URL: "https://github.com/<path_to_repo>/content"
|
||||||
|
Text: "Suggest Changes" # edit text
|
||||||
|
appendFilePath: true # to append file path to Edit link
|
||||||
|
---
|
||||||
23
content/posts/FFB.md
Normal file
23
content/posts/FFB.md
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
+++
|
||||||
|
title = 'Fantasy Football Draft Tools'
|
||||||
|
date = 2024-08-29T11:00:43-07:00
|
||||||
|
draft = false
|
||||||
|
tags = ['FantasyFootball','Reference']
|
||||||
|
categories = ['FantasyFootball', 'Reference']
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Draft Kit
|
||||||
|
|
||||||
|
[Beer Sheets](https://footballabsurdity.com/draft-sheet-form/) is a tool I found online and everytime I feel like I've gotten good results off of it and good feed back from people I've recommneded it to.
|
||||||
|
|
||||||
|
The original creator moved on from the site this year but it was taken over by his team so it should still reliable.
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
You can go to their main page and just copy over the settings from your league. For examples here's a [direct link](https://footballabsurdity.com/draft-sheet-form/?teams=14&bn=5&qb=1&rb=2&wr=2&rwt=2&patd=6&rutd=6&retd=6&payd=0.04&ruyd=0.1&reyd=0.1&int=-1.0&rec=0.5&fum=-2.0) to the settings my family league is using.
|
||||||
|
|
||||||
|
There doesn't seem to be support for PPFD (point per first down) so I just kept it at 1/2 ppr.
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
6
content/posts/about.md
Normal file
6
content/posts/about.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "About"
|
||||||
|
date: "2019-02-28"
|
||||||
|
---
|
||||||
|
|
||||||
|
Self hosted blog for Eduardo Figueroa. Subjects include DIY projects, linux, and other things.
|
||||||
18
content/posts/contacting-me.md
Normal file
18
content/posts/contacting-me.md
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
+++
|
||||||
|
title = "Contacts"
|
||||||
|
description = "Fig.Systems and stuff"
|
||||||
|
date = "2019-02-28"
|
||||||
|
aliases = ["about-us"]
|
||||||
|
author = "Eduardo Figueroa"
|
||||||
|
+++
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
***
|
||||||
|
### E-mail
|
||||||
|
Eduardo_Figueroa@fig.systems
|
||||||
|
***
|
||||||
|
#### Seldom used Socials
|
||||||
|
[@edfig@mastodon.social](https://mastodon.social/@edfig)
|
||||||
|
|
||||||
|
[@edfig.bsky.social](https://bsky.app/profile/edfig.bsky.social)
|
||||||
36
content/posts/stack.md
Normal file
36
content/posts/stack.md
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
+++
|
||||||
|
title = 'Self Hosting'
|
||||||
|
date = 2024-08-19T10:57:05-07:00
|
||||||
|
tags = ['server','selfhosted']
|
||||||
|
categories = ['server', 'selfhosted', 'unraid']
|
||||||
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
This is just a general overview of what I'm running. Updated sporadically, only includes things I'm actively using or have deployed.
|
||||||
|
|
||||||
|
## Networking ##
|
||||||
|
|
||||||
|
### In Production ###
|
||||||
|
|
||||||
|
* Unifi
|
||||||
|
* UDM Pro
|
||||||
|
* 3 APs
|
||||||
|
* PoE and non-PoE switches
|
||||||
|
* A certain number and variety of cameras
|
||||||
|
|
||||||
|
## Services ##
|
||||||
|
Self-hosted:
|
||||||
|
|
||||||
|
* NGINX Proxy Manager
|
||||||
|
* [Immich](https://photos.fig.systems). Photo Backup.
|
||||||
|
* [Paperless-NGX](https://paperless.fig.systems). Document storage
|
||||||
|
* [Recipes](https://recipes.fig.systems). Recipes I've saved.
|
||||||
|
* [DokuWiki](https://wiki.fig.systems). Personal wiki.
|
||||||
|
* [MicroBin](https://bin.fig.systems). "paste bin" share.
|
||||||
|
* [FreshRSS](https://feeds.fig.systems). RSS agregator
|
||||||
|
* [Forgejo](https://git.fig.systems). Git repos.
|
||||||
|
|
||||||
|
## Cloud ##
|
||||||
|
|
||||||
|
Came from an azure shop years ago, current aws. I've had personal items on Oracle and AWS but pulled it all down to this server.
|
||||||
|
|
||||||
8
content/search.md
Normal file
8
content/search.md
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "Search" # in any language you want
|
||||||
|
layout: "search" # necessary for search
|
||||||
|
# url: "/archive"
|
||||||
|
# description: "Description for Search"
|
||||||
|
summary: "search"
|
||||||
|
placeholder: "Search Fig.Systems Posts."
|
||||||
|
---
|
||||||
141
hugo.yaml
141
hugo.yaml
|
|
@ -1,3 +1,138 @@
|
||||||
baseURL: https://example.org/
|
baseURL: "https://website.fig.systems/"
|
||||||
languageCode: en-us
|
title: Fig.Systems
|
||||||
title: My New Hugo Site
|
paginate: 5
|
||||||
|
theme: PaperMod
|
||||||
|
|
||||||
|
enableRobotsTXT: true
|
||||||
|
buildDrafts: false
|
||||||
|
buildFuture: false
|
||||||
|
buildExpired: false
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
home:
|
||||||
|
- HTML
|
||||||
|
- RSS
|
||||||
|
- JSON # necessary for search
|
||||||
|
|
||||||
|
minify:
|
||||||
|
disableXML: true
|
||||||
|
minifyOutput: true
|
||||||
|
|
||||||
|
params:
|
||||||
|
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
||||||
|
title: Fig.Systems
|
||||||
|
description: "A System of Figs"
|
||||||
|
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/<path_to_repo>/content"
|
||||||
|
Text: "Suggest Changes" # edit text
|
||||||
|
appendFilePath: true # to append file path to Edit link
|
||||||
|
|
||||||
|
ShowReadingTime: true
|
||||||
|
ShowShareButtons: true
|
||||||
|
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: "Fig.Systems"
|
||||||
|
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/fig.systems"
|
||||||
|
- name: github
|
||||||
|
url: "https://github.com/efigueroa"
|
||||||
|
- name: steam
|
||||||
|
url: "https://steamcommunity.com/id/esotericguy/"
|
||||||
|
- name: rss
|
||||||
|
url: "https://fig.systems/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/<path_to_repo>/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:
|
||||||
|
- identifier: categories
|
||||||
|
name: "#categories"
|
||||||
|
url: /categories/
|
||||||
|
weight: 10
|
||||||
|
- identifier: tags
|
||||||
|
name: "#tags"
|
||||||
|
url: /tags/
|
||||||
|
weight: 20
|
||||||
|
- identifier: search
|
||||||
|
name: "#search"
|
||||||
|
url: /search
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
1
themes/PaperMod
Submodule
1
themes/PaperMod
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a2eb47bb4b805116dcd34c1605d39835121f8dbe
|
||||||
Loading…
Reference in a new issue