Hmm, try using separate symlinks that aren't excluded from Jekyll to load the base repo stuff into the site? Might be more reliable

This commit is contained in:
Danielle McLean 2020-06-18 14:00:35 +10:00
parent e9b0d0d5c0
commit f337cc8574
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605
6 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

@ -2,6 +2,6 @@
layout: page
permalink: /README
---
{% capture readme_text %}{% include_relative .dots/README.md %}{% endcapture %}
{% capture readme_text %}{% include_relative README.md %}{% endcapture %}
{% assign readme_text = readme_text | newline_to_br | split: '<br />' | shift | shift | join %}
{{ readme_text | markdownify }}

1
site/README.md Symbolic link
View file

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

View file

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

1
site/local Symbolic link
View file

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