-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add js warning plus fallback for blog markdown posts (#24)
* link to post * tiny tweak * add js fallback to one blogpost * update rest of blogs plus template * fix a paren
- Loading branch information
1 parent
cbda507
commit 7f8b13f
Showing
11 changed files
with
66 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,12 @@ | |
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,12 @@ | |
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,12 @@ | |
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,12 @@ | |
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<strong>⚠️ Hark!</strong> | ||
<p>This page normally uses javascript to render its content from the underlying markdown. | ||
If you're seeing this alert, it's probably because you've disabled javascript.</p> | ||
<p> You'll still be able to see all text content, but the styling might look a little funny, and not all links/images | ||
will be visible. If you want to view it as originally intended, you'll need to enable javascript. </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,18 @@ | |
<body> | ||
<div class="main-container"> | ||
<nav class="blog-navbar" role="navigation"> | ||
@hannahilea: | ||
@hannahilea: | ||
<a href="../.." class="nav-link">home</a> | | ||
<a href="../../projects" class="nav-link">projects</a> | | ||
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,12 @@ | |
<a href=".." class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
</nav> | ||
<md-block src="./src.md"></md-block> | ||
<md-block src="./src.md"> | ||
<div class="js-fallback-container"> | ||
<iframe class="js-fallback-desc" src="../js-fallback-description.html"></iframe> | ||
<iframe class="js-fallback" src="./src.md"></iframe> | ||
</div> | ||
</md-block> | ||
</div> | ||
</body> | ||
|
||
|