Remove url filter
This commit is contained in:
parent
c0c01517a4
commit
ab32d19b09
|
@ -12,12 +12,12 @@
|
||||||
|
|
||||||
{# Fonts #}
|
{# Fonts #}
|
||||||
{% include "global/fontdefault.njk" %}
|
{% include "global/fontdefault.njk" %}
|
||||||
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
|
<link rel="stylesheet" href="/assets/fonts/intel-one-mono/intel-one-mono.css">
|
||||||
|
|
||||||
{# CSS #}
|
{# CSS #}
|
||||||
{% include "global/css-bundle.njk" %}
|
{% include "global/css-bundle.njk" %}
|
||||||
{% if hasTooltips %}
|
{% if hasTooltips %}
|
||||||
<link rel="stylesheet" href="{{'/assets/css/tooltips.css' | url | safe}}">
|
<link rel="stylesheet" href="/assets/css/tooltips.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<style>{% getBundle "css" %}</style>
|
<style>{% getBundle "css" %}</style>
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
</main>
|
</main>
|
||||||
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
|
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
|
||||||
{% if hasTooltips %}
|
{% if hasTooltips %}
|
||||||
<script src="{{'/assets/js/tooltips.js' | url | safe}}"></script>
|
<script src="/assets/js/tooltips.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var selector = '[data-tooltip]';
|
var selector = '[data-tooltip]';
|
||||||
var els = document.querySelectorAll(selector);
|
var els = document.querySelectorAll(selector);
|
||||||
|
|
|
@ -10,5 +10,5 @@
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{%- for file in cssFiles -%}
|
{%- for file in cssFiles -%}
|
||||||
<link rel="stylesheet" href="{{'/assets/css/' + file + '.css' | url | safe}}">
|
<link rel="stylesheet" href="{{'/assets/css/' + file + '.css'}}">
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
|
@ -1,4 +1,4 @@
|
||||||
<link rel="icon" sizes="32x32" href="{{'/assets/favicon/favicon.ico' | url }}">
|
<link rel="icon" sizes="32x32" href="/assets/favicon/favicon.ico">
|
||||||
<link rel="icon" type="image/svg+xml" href="{{'/assets/favicon/leilukin-bee-favicon.svg' | url }}">
|
<link rel="icon" type="image/svg+xml" href="/assets/favicon/leilukin-bee-favicon.svg">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{'/assets/favicon/apple-touch-icon.png' | url }}">
|
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||||||
<link rel="manifest" href="{{'/assets/favicon/site.webmanifest' | url }}">
|
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
{# Style #}
|
{# Style #}
|
||||||
{% include "global/fontdefault.njk" %}
|
{% include "global/fontdefault.njk" %}
|
||||||
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
<link rel="stylesheet" href="/assets/css/misc.css">
|
||||||
|
|
||||||
{# Favicon #}
|
{# Favicon #}
|
||||||
{% include "global/favicon.njk" %}
|
{% include "global/favicon.njk" %}
|
||||||
|
|
|
@ -17,7 +17,7 @@ eleventyComputed:
|
||||||
<email>{{ sitemeta.siteAuthor.email }}</email>
|
<email>{{ sitemeta.siteAuthor.email }}</email>
|
||||||
</author>
|
</author>
|
||||||
{%- for item in collections["feed items"] | reverse | itemLimit(15) %}
|
{%- for item in collections["feed items"] | reverse | itemLimit(15) %}
|
||||||
{% set absolutePostUrl %}{{ item.url | url | absoluteUrl(sitemeta.siteUrl) }}{% endset %}
|
{% set absolutePostUrl %}{{ item.url | absoluteUrl(sitemeta.siteUrl) }}{% endset %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ item.data.title }}</title>
|
<title>{{ item.data.title }}</title>
|
||||||
<link href="{{ absolutePostUrl }}"/>
|
<link href="{{ absolutePostUrl }}"/>
|
||||||
|
|
|
@ -6,7 +6,7 @@ eleventyExcludeFromCollections: true
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{%- for item in collections.all %}
|
{%- for item in collections.all %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ sitemeta.siteUrl + item.url | url }}</loc>
|
<loc>{{ sitemeta.siteUrl + item.url }}</loc>
|
||||||
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
|
<lastmod>{% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %}</lastmod>
|
||||||
<changefreq>{{ item.data.sitemap.changefreq | default("weekly") }}</changefreq>
|
<changefreq>{{ item.data.sitemap.changefreq | default("weekly") }}</changefreq>
|
||||||
<priority>{{ item.data.sitemap.priority | default(0.5) }}</priority>
|
<priority>{{ item.data.sitemap.priority | default(0.5) }}</priority>
|
||||||
|
|
Loading…
Reference in New Issue