diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-20 21:24:07 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-20 21:24:07 +0100 |
commit | fe0a37a39f133d60e47cb041973136e5d6154657 (patch) | |
tree | 7f22b186d14ab5aba81b050e0e530d96fb5fb059 | |
parent | 428fb92cb7e0b566f39fdb61d9ffc03b056d7a7b (diff) | |
download | notes-fe0a37a39f133d60e47cb041973136e5d6154657.tar.gz notes-fe0a37a39f133d60e47cb041973136e5d6154657.zip |
html: add viewport meta to tags example
-rw-r--r-- | src/web/html.md | 4 | ||||
-rw-r--r-- | src/web/src/tags.html | 2 | ||||
-rw-r--r-- | src/web/src/tags2.html | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/web/html.md b/src/web/html.md index 8debbda..28625a6 100644 --- a/src/web/html.md +++ b/src/web/html.md @@ -29,13 +29,13 @@ ## Single active filter tag [Rendered html](src/tags.html) ```html -{{#include src/tags.html }} +{{#include src/tags.html:3: }} ``` ## Multiple active filter tags [Rendered html](src/tags2.html) ```html -{{#include src/tags2.html }} +{{#include src/tags2.html:3: }} ``` # Floating figures with caption diff --git a/src/web/src/tags.html b/src/web/src/tags.html index d9ea9af..1500e3a 100644 --- a/src/web/src/tags.html +++ b/src/web/src/tags.html @@ -1,3 +1,5 @@ +<meta name="viewport" content="width=device-width, initial-scale=1.0"> + <script> /// Map HTML elements to display kinds. const elementToDisplay = (E) => { diff --git a/src/web/src/tags2.html b/src/web/src/tags2.html index a321aeb..6625000 100644 --- a/src/web/src/tags2.html +++ b/src/web/src/tags2.html @@ -1,3 +1,5 @@ +<meta name="viewport" content="width=device-width, initial-scale=1.0"> + <script> /// Map HTML elements to display kinds. const elementToDisplay = (E) => { |