Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/post/javascript-support.md')
-rw-r--r--exampleSite/content/post/javascript-support.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/exampleSite/content/post/javascript-support.md b/exampleSite/content/post/javascript-support.md
index 52b2390..0a91163 100644
--- a/exampleSite/content/post/javascript-support.md
+++ b/exampleSite/content/post/javascript-support.md
@@ -2,21 +2,24 @@
title: "Javascript Support"
date: 2017-07-04T20:55:50-05:00
tags: ["bootstrap", "javascript", "noscript", "demo", "feature"]
+toc: true
+banner: [
+ {
+ src: "/images/javascript.svg",
+ alt: "javascript"
+ }
+]
---
-<div class="well content-header">
- <img src="/images/javascript.svg" alt="javascript" />
-</div>
-
<!--more-->
---
-## Javascript Enabled?
+# Javascript Enabled?
<noscript>
<div class="bd-callout bd-callout-warning">
- <h4>Javascript Disabled</h4>
+ <strong>Javascript Disabled</strong>
<p>Hugo Now assumes javascript is disabled (as does Github Pages) but if your posts make use of bootstrap JS plugins read on...</p>
<strong>No special fallbacks when JavaScript is disabled</strong>
<p>Bootstrap’s plugins don’t fall back particularly gracefully when JavaScript is disabled. If you care about the user experience in this case, use <noscript> to explain the situation (and how to re-enable JavaScript) to your users, and/or add your own custom fallbacks.
@@ -25,7 +28,7 @@ tags: ["bootstrap", "javascript", "noscript", "demo", "feature"]
</noscript>
<div id="js-enabled-msg" class="bd-callout bd-callout-success js-enabled">
- <h4>Javascript Enabled</h4>
+ <strong>Javascript Enabled</strong>
<p>While Hugo Now assumes javascript is disabled, full Bootstrap JS is supported</p>
<p>(see <code>partials/javascript.html</code>)</p>
</div>