@anyblades/blades 0.28.0-alpha.6 → 0.28.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
  <!--section:docs,toc-->
18
18
  <!-- ToC from https://blades.ninja/css/ with `href="/css/#` instead of `href="#` -->
19
19
  <ul class="columns"><li><a href="/css/#install" tabindex="-1">Install</a></li>
20
- <li><a href="/css/#layout" tabindex="-1">Layout</a><ul><li><a href="/css/#breakout">Breakout elements</a></li>
20
+ <li><a href="/css/#layout" tabindex="-1">Layout</a><ul><li><a href="/css/#breakout">Breakout layout</a></li>
21
21
  <li><a href="/css/#auto-columns" tabindex="-1">Auto-columns</a></li>
22
22
  <li><a href="/css/#jump-to-top" tabindex="-1">Jump to top</a></li></ul></li>
23
23
  <li><a href="/css/#content" tabindex="-1">Content</a><ul><li><a href="/css/#link-icon">Link icon</a></li>
@@ -29,12 +29,9 @@
29
29
  </script>
30
30
 
31
31
  {{ content_for_header }}
32
- {% include blades/gtm.liquid %}
33
32
  </head>
34
33
 
35
34
  <body>
36
- {% include blades/gtm.liquid for_body=true %}
37
-
38
35
  {{ body }}
39
36
  </body>
40
37
  </html>
@@ -29,11 +29,9 @@
29
29
  </script>{# prettier-ignore-end #}
30
30
 
31
31
  {{ content_for_header | safe }}
32
- {% include 'blades/gtm.njk' %}
33
32
  </head>
34
33
 
35
34
  <body>
36
- {% set for_body = true %}{% include 'blades/gtm.njk' %}
37
35
  {% block body %}
38
36
  {% endblock %}
39
37
  </body>
@@ -12,16 +12,10 @@
12
12
  {% # prettier-ignore %}
13
13
  {% comment %}```
14
14
  <!--section:docs-->
15
- Usage with [Eleventy Navigation plugin](https://www.11ty.dev/docs/plugins/navigation/#bring-your-own-html-render-the-menu-items-manually):
15
+ Usage example for https://www.11ty.dev/docs/plugins/navigation/#bring-your-own-html-render-the-menu-items-manually:
16
16
 
17
17
  ```liquid
18
18
  {% assign links = collections.all | eleventyNavigation %}
19
19
  {% render blades/links, links: links, current_url: page.url %}
20
20
  ```
21
-
22
- Usage inside Pico's Navar:
23
-
24
- ```jinja2
25
- TBD
26
- ```
27
21
  <!--section-->{% endcomment %}
@@ -1,4 +1,6 @@
1
- <?xml version="1.0" encoding="utf-8"?>
1
+ {# Based on https://github.com/11ty/eleventy-base-blog/blob/main/content/sitemap.xml.njk
2
+ <!--section:code-->```jinja2 #}<?xml
3
+ version="1.0" encoding="utf-8"?>
2
4
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
3
5
  {%- for page in collections.all %}
4
6
  {% if page.data.permalink != false %}
@@ -9,4 +11,15 @@
9
11
  {% endif %}
10
12
  {%- endfor %}
11
13
  </urlset>
12
- {# https://github.com/11ty/eleventy-base-blog/blob/main/content/sitemap.xml.njk #}
14
+ {#```
15
+ <!--section:docs-->
16
+ Usage example for https://github.com/11ty/eleventy-plugin-rss:
17
+ ```jinja2 {data-caption=sitemap.xml.njk}
18
+ ---
19
+ permalink: /sitemap.xml
20
+ layout: false
21
+ eleventyExcludeFromCollections: true
22
+ ---
23
+ {% include 'blades/sitemap.xml.njk' %}
24
+ ```
25
+ <!--section--> #}