replaced jekyll with hugo

This commit is contained in:
paul-loedige
2024-11-14 15:53:37 +01:00
parent cd89285112
commit cddd31e747
+4 -34
View File
@@ -166,7 +166,7 @@
- [[#obs-studio][OBS Studio]]
- [[#portfolio-performance][Portfolio Performance]]
- [[#steam][Steam]]
- [[#jekyll][Jekyll]]
- [[#hugo][Hugo]]
- [[#manual-tasks-after-tangling][Manual Tasks after tangling]]
- [[#other-todos][Other TODOs]]
- [[#dunst][dunst]]
@@ -4168,42 +4168,12 @@ portfolio-performance-bin
#+begin_src conf :tangle pkg-list.txt
steam
#+end_src
** Jekyll
[[https://jekyllrb.com/][Jekyll]] is the base of [[https://pages.github.com/][GithubPages]]. After installing it, it can be used locally to validate changes before upload
*** .gemrc
#+begin_src yaml :tangle ~/.gemrc
# DO NOT EDIT THIS FILE DIRECTLY
# This is a file generated from a literate programing source file
# You should make any changes there and regenerate it from Emacs org-mode
# using org-babel-tangle (C-c C-v t)
#+end_src
** Hugo
[[https://gohugo.io/][Hugo]] is a framework for building a static website from markup documents.
*** Installation
Install the basic requirements
#+begin_src config :tangle pkg-list.txt
ruby
ruby-erb
base-devel
#+end_src
Add the required exports to path.sh
#+begin_src shell :tangle ~/.path.sh
export GEM_HOME="$HOME/.gems"
export GEM_PATH="$GEM_HOME"
export PATH="$HOME/.gems/bin:$PATH"
#+end_src
define the config in .gemrc
#+begin_src yaml :tangle ~/.gemrc
gem: --no-user-install
install: --no-user-install
update: --no-user-install
gemhome: .gems
gempath:
-.gems
#+end_src
Install the required gems
#+begin_src shell :tangle update.sh
echo INSTALLING Jekyll
source ~/.path.sh
gem install jekyll bundler
hugo
#+end_src
* Manual Tasks after tangling
1. run ~update.sh~