You've already forked pedini.dev
feat: switch theme to risotto and update config
- Add risotto theme as submodule - Update hugo.yaml with new theme configuration - Adjust menu URLs to be absolute paths - Simplify makefile by removing redundant prep steps - Update copyright notice and author info - Remove old theme-specific CSP settings
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
|||||||
[submodule "themes/hugo-coder"]
|
[submodule "themes/hugo-coder"]
|
||||||
path = themes/hugo-coder
|
path = themes/hugo-coder
|
||||||
url = https://github.com/luizdepra/hugo-coder.git
|
url = https://github.com/luizdepra/hugo-coder.git
|
||||||
|
[submodule "themes/risotto"]
|
||||||
|
path = themes/risotto
|
||||||
|
url = https://github.com/joeroe/risotto
|
||||||
|
|||||||
64
hugo.yaml
64
hugo.yaml
@@ -1,8 +1,9 @@
|
|||||||
---
|
---
|
||||||
baseURL: "https://pedini.dev"
|
baseURL: "https://pedini.dev"
|
||||||
languageCode: "en-us"
|
languageCode: "us"
|
||||||
|
theme: "risotto"
|
||||||
title: "Bryan Joshua Pedini"
|
title: "Bryan Joshua Pedini"
|
||||||
theme: "hugo-coder"
|
copyright: "Copyright © 2019 Bryan Joshua Pedini - All Rights Reserved"
|
||||||
|
|
||||||
markup:
|
markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
@@ -10,67 +11,42 @@ markup:
|
|||||||
hardWraps: true
|
hardWraps: true
|
||||||
|
|
||||||
params:
|
params:
|
||||||
author: "Bryan Joshua Pedini"
|
theme:
|
||||||
info: "FullStack Developer - Integration Manager - Cloud/PBX/Network/Docker Specialist - DevOps Enthusiast - Kubernetes/Ceph Apprentice"
|
palette: "base16-dark"
|
||||||
description: "Bryan's personal website / blog"
|
about:
|
||||||
keywords: "blog,personal,developer,networking,docker,devops,k8s,kubernetes"
|
title: "Bryan Joshua Pedini"
|
||||||
gravatar: "bryan@pedini.dev"
|
description: "Developer, Network Specialist, Cloud Architect, Right to Repair/Ownership Advocate, Self Employed."
|
||||||
since: 2019
|
logo_image: ""
|
||||||
commit: "https://git.bjphoster.com/source/pedini.dev/"
|
#keywords: "blog,personal,developer,networking,docker,devops,k8s,kubernetes"
|
||||||
colorScheme: "dark"
|
|
||||||
|
|
||||||
csp:
|
socialLinks:
|
||||||
childsrc:
|
- title: "Git"
|
||||||
- self
|
|
||||||
fontsrc:
|
|
||||||
- self
|
|
||||||
formaction:
|
|
||||||
- self
|
|
||||||
framesrc:
|
|
||||||
- self
|
|
||||||
imgsrc:
|
|
||||||
- self
|
|
||||||
objectsrc:
|
|
||||||
- self
|
|
||||||
stylesrc:
|
|
||||||
- self
|
|
||||||
scriptsrc:
|
|
||||||
- self
|
|
||||||
connectsrc:
|
|
||||||
- self
|
|
||||||
|
|
||||||
social:
|
|
||||||
- name: "Git"
|
|
||||||
icon: "fa-brands fa-git fa-2x"
|
icon: "fa-brands fa-git fa-2x"
|
||||||
weight: 1
|
|
||||||
url: "https://45r.it/bjphoster-git"
|
url: "https://45r.it/bjphoster-git"
|
||||||
- name: "Instagram"
|
- title: "Instagram"
|
||||||
icon: "fa-brands fa-instagram fa-2x"
|
icon: "fa-brands fa-instagram fa-2x"
|
||||||
weight: 2
|
|
||||||
url: "https://45r.it/pedini-ig"
|
url: "https://45r.it/pedini-ig"
|
||||||
- name: "Telegram"
|
- title: "Telegram"
|
||||||
icon: "fa-brands fa-telegram fa-2x"
|
icon: "fa-brands fa-telegram fa-2x"
|
||||||
weight: 3
|
|
||||||
url: "https://45r.it/pedini-tg"
|
url: "https://45r.it/pedini-tg"
|
||||||
- name: "LinkedIn"
|
- title: "LinkedIn"
|
||||||
icon: "fa-brands fa-linkedin fa-2x"
|
icon: "fa-brands fa-linkedin fa-2x"
|
||||||
weight: 4
|
|
||||||
url: "https://45r.it/pedini-li"
|
url: "https://45r.it/pedini-li"
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
- name: "About me"
|
- name: "About me"
|
||||||
weight: 1
|
weight: 1
|
||||||
url: "about/"
|
url: "/about/"
|
||||||
- name: "Blog"
|
- name: "Blog"
|
||||||
weight: 2
|
weight: 2
|
||||||
url: "blog/"
|
url: "/blog/"
|
||||||
- name: "Contacts"
|
- name: "Contact"
|
||||||
weight: 3
|
weight: 3
|
||||||
url: "contacts/"
|
url: "/contact/"
|
||||||
- name: "Version"
|
- name: "Version"
|
||||||
weight: 4
|
weight: 4
|
||||||
url: "version/"
|
url: "/version/"
|
||||||
|
|
||||||
taxonomies:
|
taxonomies:
|
||||||
category: "categories"
|
category: "categories"
|
||||||
|
|||||||
4
makefile
4
makefile
@@ -5,11 +5,11 @@ default: build
|
|||||||
prep:
|
prep:
|
||||||
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
||||||
|
|
||||||
build: prep
|
build:
|
||||||
/usr/bin/env bash version.sh
|
/usr/bin/env bash version.sh
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
/usr/bin/env bash deploy.sh
|
/usr/bin/env bash deploy.sh
|
||||||
|
|
||||||
run: prep
|
run:
|
||||||
hugo server
|
hugo server
|
||||||
|
|||||||
1
themes/risotto
Submodule
1
themes/risotto
Submodule
Submodule themes/risotto added at 02f2872a18
Reference in New Issue
Block a user