Push Jekyll site files into a subdirectory to avoid confusing them with actual dots script files
This commit is contained in:
parent
b9d9939c7f
commit
0207b7da11
12 changed files with 5 additions and 9 deletions
|
@ -1,9 +1,3 @@
|
||||||
^/\.git.*
|
^/\.git.*
|
||||||
^/CNAME
|
|
||||||
^/Gemfile.*
|
|
||||||
^/README\.md
|
^/README\.md
|
||||||
^/css
|
^/site.*
|
||||||
^/_.*
|
|
||||||
^/\.sass-cache
|
|
||||||
^/vendor
|
|
||||||
^/.*\.html
|
|
||||||
|
|
1
site/.dots/README.md
Symbolic link
1
site/.dots/README.md
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../README.md
|
1
site/.dots/local
Symbolic link
1
site/.dots/local
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../local
|
|
@ -2,6 +2,6 @@
|
||||||
layout: page
|
layout: page
|
||||||
permalink: /README
|
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: '' ) %}
|
{% assign readme_text = (readme_text | newline_to_br | split: "<br />" | shift | shift | join: '' ) %}
|
||||||
{{ readme_text | markdownify }}
|
{{ readme_text | markdownify }}
|
|
@ -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>
|
# <style>body { white-space: pre-wrap; font-family: Monoid, Inconsolata, "Ubuntu Mono", Consolas, Menlo, monospace; } a { font-size: 1.3em; }</style>
|
Loading…
Reference in a new issue