refactors: replacing config derived data with vfs, removing markdown
This commit is contained in:
parent
1e1b8df457
commit
db0329077e
32 changed files with 767 additions and 1183 deletions
|
@ -11,10 +11,11 @@
|
|||
<link rel="stylesheet" href="{{ asset 'css/icons.css' }}">
|
||||
<link rel="stylesheet" href="{{ asset 'css/tree.css' }}">
|
||||
|
||||
{{!-- Import maps currently don't support the src="" attribute. Unless we come up with something
|
||||
clever to do while browser vendors figure that out, we'll just have to do a cache-busting include_static. --}}
|
||||
{{!-- <script type="importmap" src="{{ asset 'generated/import-map.json' }}"></script> --}}
|
||||
<script type="importmap">{{{ include_static 'generated/import-map.json' }}}</script>
|
||||
{{!--
|
||||
Import maps currently don't support the src="" attribute. Unless we come up with something
|
||||
clever to do while browser vendors figure that out, we'll just have to do a cache-busting string substitution.
|
||||
--}}
|
||||
<script type="importmap">{{{ import_map }}}</script>
|
||||
|
||||
<script>
|
||||
const TREEHOUSE_SITE = `{{ config.site }}`;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<script type="importmap">{{{ include_static 'generated/import-map.json' }}}</script>
|
||||
<script type="importmap">{{{ import_map }}}</script>
|
||||
|
||||
<script type="module">
|
||||
import { evaluate, domConsole, jsConsole } from "treehouse/components/literate-programming/eval.js";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue