From 61b3f31fa7f0141e2e3c328adbe19ca6a0aec1a8 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 11 Apr 2022 19:35:22 -0400 Subject: [PATCH] Fix hugo script --- README.org | 9 ++++++++- modules/hugo.nix | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 30cf163..7f8281f 100644 --- a/README.org +++ b/README.org @@ -688,7 +688,7 @@ Apply some configuration to the default settings: let mySiteDir = "/etc/dotfiles/docs/public/"; - mySiteTgt = "unbuntu@chrishayward.xyz:/var/www/wedding"; + mySiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" '' ${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt} ''; @@ -1019,6 +1019,8 @@ in { * Emacs Configuration +[[./docs/images/emacs.png]] + #+NAME: module-emacs #+BEGIN_SRC nix ./modules/emacs.nix @@ -2634,6 +2636,11 @@ epkgs.doom-modeline * Website Configuration +#+ATTR_ORG: :width 800px +#+ATTR_HTML: :width 800px +#+ATTR_LATEX: :width 800px +[[./docs/images/website-example.png]] + My [[https://chrishayward.xyz][personal website]] is a static HTML page written with [[https://gohugo.io][Hugo]], and is fully integrated into this configuration. It uses the ~config.toml~, ~config.yaml~, or ~config.json~ file (found in the sites root directory) as the default site config. Working with this requires the module to be enabled. #+BEGIN_SRC conf :noweb yes :tangle docs/config.toml diff --git a/modules/hugo.nix b/modules/hugo.nix index 2b143cc..e38b28d 100644 --- a/modules/hugo.nix +++ b/modules/hugo.nix @@ -3,7 +3,7 @@ let mySiteDir = "/etc/dotfiles/docs/public/"; - mySiteTgt = "unbuntu@chrishayward.xyz:/var/www/wedding"; + mySiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" '' ${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt} '';