magic! now it works on web kit
This commit is contained in:
parent
33416e8963
commit
3a4eb87ca0
17 changed files with 164 additions and 116 deletions
|
@ -11,13 +11,12 @@
|
|||
|
||||
{{!-- For /index, include a "new" link that goes to the curated news feed page. --}}
|
||||
{{#if (eq page.tree_path "index")}}
|
||||
<a href="{{ config.site }}/treehouse/new.html" is="th-new">new</a>
|
||||
<a href="{{ config.site }}/treehouse/new.html" data-cast="new">new</a>
|
||||
{{/if}}
|
||||
|
||||
{{/ components/_nav.hbs }}
|
||||
|
||||
{{> components/_noscript.hbs }}
|
||||
{{> components/_webkit.hbs }}
|
||||
|
||||
<section>
|
||||
<p>welcome!</p>
|
||||
|
@ -33,7 +32,7 @@
|
|||
</p>
|
||||
</section>
|
||||
|
||||
<section is="th-settings">
|
||||
<section class="settings" data-cast="js">
|
||||
<details>
|
||||
<summary>
|
||||
settings
|
||||
|
@ -41,7 +40,7 @@
|
|||
<section>
|
||||
<p>if you find the newsfeed annoying, you can customize some aspects of it.</p>
|
||||
<p>
|
||||
<input type="checkbox" is="th-setting-checkbox" id="showNewPostIndicator">
|
||||
<input type="checkbox" data-cast="setting-checkbox" id="showNewPostIndicator">
|
||||
<label for="showNewPostIndicator">show the <span class="badge red">1</span> badge on the homepage
|
||||
for
|
||||
new posts you haven't read yet</label>
|
||||
|
@ -70,4 +69,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -11,13 +11,12 @@
|
|||
|
||||
{{!-- For /index, include a "new" link that goes to the curated news feed page. --}}
|
||||
{{#if (eq page.tree_path "index")}}
|
||||
<a href="{{ config.site }}/treehouse/new.html" is="th-new">new</a>
|
||||
<a href="{{ config.site }}/treehouse/new.html" data-cast="new">new</a>
|
||||
{{/if}}
|
||||
|
||||
{{/ components/_nav.hbs }}
|
||||
|
||||
{{> components/_noscript.hbs }}
|
||||
{{> components/_webkit.hbs }}
|
||||
|
||||
{{!--
|
||||
NOTE: ~ because components/_tree.hbss must not include any extra indentation, because it may
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
const TREEHOUSE_NEWS_COUNT = {{ len feeds.news.branches }};
|
||||
</script>
|
||||
<script type="module" src="{{ config.site }}/navmap.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/spells.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/ulid.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/usability.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/settings.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/tree.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/emoji.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/thanks-webkit.js"></script>
|
||||
<script type="module" src="{{ config.site }}/static/js/news.js"></script>
|
||||
|
||||
<meta property="og:site_name" content="{{ config.user.title }}">
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<div id="webkit-makes-me-go-insane" class="noscript" role="note">
|
||||
<p>hey! looks like you're using a weird or otherwise quirky web browser. this basically means, the website will
|
||||
not work for you correctly. I might fix it in the future but I have very limited time to work on this
|
||||
website and so don't have an estimate on when that might happen.</p>
|
||||
<p>in the meantime I suggest switching to <a href="https://firefox.com">something more modern.</a></p>
|
||||
<p>sorry for the inconvenience!</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue