Push Jekyll site files into a subdirectory to avoid confusing them with actual dots script files

This commit is contained in:
Danielle McLean 2020-06-18 12:00:16 +10:00
parent b9d9939c7f
commit 0207b7da11
Signed by: 00dani
GPG Key ID: 9DDE1EDE01E3A605
12 changed files with 5 additions and 9 deletions

View File

@ -1,9 +1,3 @@
^/\.git.*
^/CNAME
^/Gemfile.*
^/README\.md
^/css
^/_.*
^/\.sass-cache
^/vendor
^/.*\.html
^/site.*

1
site/.dots/README.md Symbolic link
View File

@ -0,0 +1 @@
../../README.md

1
site/.dots/local Symbolic link
View File

@ -0,0 +1 @@
../../local

View File

@ -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: "<br />" | shift | shift | join: '' ) %}
{{ readme_text | markdownify }}

View File

@ -1,4 +1,4 @@
---
---
{% include_relative local/bin/dots %}
{% include_relative .dots/local/bin/dots %}
# <style>body { white-space: pre-wrap; font-family: Monoid, Inconsolata, "Ubuntu Mono", Consolas, Menlo, monospace; } a { font-size: 1.3em; }</style>