From 0207b7da11a05123b32a8aeab0b82ece867f597e Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 18 Jun 2020 12:00:16 +1000 Subject: [PATCH] Push Jekyll site files into a subdirectory to avoid confusing them with actual dots script files --- .stow-local-ignore | 8 +------- site/.dots/README.md | 1 + site/.dots/local | 1 + Gemfile => site/Gemfile | 0 Gemfile.lock => site/Gemfile.lock | 0 README.html => site/README.html | 2 +- _config.yml => site/_config.yml | 0 {_includes => site/_includes}/head.html | 0 {_scripts => site/_scripts}/partial-dl-test | 0 {css => site/css}/main.scss | 0 index.html => site/index.html | 2 +- partial-dl-test.html => site/partial-dl-test.html | 0 12 files changed, 5 insertions(+), 9 deletions(-) create mode 120000 site/.dots/README.md create mode 120000 site/.dots/local rename Gemfile => site/Gemfile (100%) rename Gemfile.lock => site/Gemfile.lock (100%) rename README.html => site/README.html (68%) rename _config.yml => site/_config.yml (100%) rename {_includes => site/_includes}/head.html (100%) rename {_scripts => site/_scripts}/partial-dl-test (100%) rename {css => site/css}/main.scss (100%) rename index.html => site/index.html (78%) rename partial-dl-test.html => site/partial-dl-test.html (100%) diff --git a/.stow-local-ignore b/.stow-local-ignore index 84f378c..858b01f 100644 --- a/.stow-local-ignore +++ b/.stow-local-ignore @@ -1,9 +1,3 @@ ^/\.git.* -^/CNAME -^/Gemfile.* ^/README\.md -^/css -^/_.* -^/\.sass-cache -^/vendor -^/.*\.html +^/site.* diff --git a/site/.dots/README.md b/site/.dots/README.md new file mode 120000 index 0000000..fe84005 --- /dev/null +++ b/site/.dots/README.md @@ -0,0 +1 @@ +../../README.md \ No newline at end of file diff --git a/site/.dots/local b/site/.dots/local new file mode 120000 index 0000000..ba89165 --- /dev/null +++ b/site/.dots/local @@ -0,0 +1 @@ +../../local \ No newline at end of file diff --git a/Gemfile b/site/Gemfile similarity index 100% rename from Gemfile rename to site/Gemfile diff --git a/Gemfile.lock b/site/Gemfile.lock similarity index 100% rename from Gemfile.lock rename to site/Gemfile.lock diff --git a/README.html b/site/README.html similarity index 68% rename from README.html rename to site/README.html index 5e16ff1..1899990 100644 --- a/README.html +++ b/site/README.html @@ -2,6 +2,6 @@ layout: page permalink: /README --- -{% capture readme_text %}{% include_relative README.md %}{% endcapture %} +{% capture readme_text %}{% include_relative .dots/README.md %}{% endcapture %} {% assign readme_text = (readme_text | newline_to_br | split: "
" | shift | shift | join: '' ) %} {{ readme_text | markdownify }} diff --git a/_config.yml b/site/_config.yml similarity index 100% rename from _config.yml rename to site/_config.yml diff --git a/_includes/head.html b/site/_includes/head.html similarity index 100% rename from _includes/head.html rename to site/_includes/head.html diff --git a/_scripts/partial-dl-test b/site/_scripts/partial-dl-test similarity index 100% rename from _scripts/partial-dl-test rename to site/_scripts/partial-dl-test diff --git a/css/main.scss b/site/css/main.scss similarity index 100% rename from css/main.scss rename to site/css/main.scss diff --git a/index.html b/site/index.html similarity index 78% rename from index.html rename to site/index.html index f7e6ae7..9ab07b5 100644 --- a/index.html +++ b/site/index.html @@ -1,4 +1,4 @@ --- --- -{% include_relative local/bin/dots %} +{% include_relative .dots/local/bin/dots %} # diff --git a/partial-dl-test.html b/site/partial-dl-test.html similarity index 100% rename from partial-dl-test.html rename to site/partial-dl-test.html