Update assets and sitemap, remove obsolete icons and fonts
Reorganized font and image assets, replacing outdated files with new ones. Removed unused SVG icons and updated the sitemap with new URLs and last modified dates. Simplified font-face declarations to reflect the updated font structure.
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{% if config.plugins.blog.post_url_format %}
|
||||
<div class="md-posts">
|
||||
{% for post in posts %}
|
||||
<article class="md-post md-post--excerpt">
|
||||
<header class="md-post__header">
|
||||
{% if post.authors %}
|
||||
<nav class="md-post__authors md-typeset">
|
||||
{% for author in post.authors %}
|
||||
<span class="md-author">
|
||||
<img src="{{ author.avatar }}" alt="{{ author.name }}">
|
||||
</span>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endif %}
|
||||
<div class="md-post__meta md-typeset">
|
||||
<time datetime="{{ post.config.date.created }}">
|
||||
{{ post.config.date.created | date }}
|
||||
</time>
|
||||
{% if post.categories %}
|
||||
<span class="md-post__categories">
|
||||
{% for category in post.categories %}
|
||||
<a href="{{ category.url | url }}">{{ category.title }}</a>
|
||||
{%- if not loop.last %}, {% endif -%}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if post.config.readtime %}
|
||||
<span>{{ post.config.readtime }} Min. Lesezeit</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
<div class="md-post__content md-typeset">
|
||||
<h2>
|
||||
<a href="{{ post.url | url }}">{{ post.config.title }}</a>
|
||||
</h2>
|
||||
|
||||
<!-- Wir zeigen nur die Überschrift an, kein Excerpt oder weiterer Inhalt -->
|
||||
|
||||
<nav class="md-post__action">
|
||||
<a href="{{ post.url | url }}" class="md-button">
|
||||
Weiterlesen
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,62 @@
|
||||
<!-- docs/overrides/partials/search.html -->
|
||||
<div class="md-search" data-md-component="search" role="dialog">
|
||||
<label class="md-search__overlay" for="__search"></label>
|
||||
<div class="md-search__inner" role="search">
|
||||
<form class="md-search__form" name="search">
|
||||
<input
|
||||
type="text"
|
||||
class="md-search__input"
|
||||
name="query"
|
||||
aria-label="{{ lang.t('search.placeholder') }}"
|
||||
autocapitalize="off"
|
||||
autocorrect="off"
|
||||
autocomplete="off"
|
||||
spellcheck="false"
|
||||
data-md-component="search-query"
|
||||
required
|
||||
/>
|
||||
<label class="md-search__icon md-icon" for="__search">
|
||||
{% include ".icons/material/magnify.svg" %}
|
||||
{% include ".icons/material/arrow-left.svg" %}
|
||||
</label>
|
||||
<nav class="md-search__options" aria-label="{{ lang.t('search.title') }}">
|
||||
{% if "search.share" in features %}
|
||||
<a
|
||||
href="javascript:void(0)"
|
||||
class="md-search__icon md-icon"
|
||||
title="{{ lang.t('search.share') }}"
|
||||
aria-label="{{ lang.t('search.share') }}"
|
||||
data-clipboard
|
||||
data-clipboard-text=""
|
||||
data-md-component="search-share"
|
||||
tabindex="-1"
|
||||
>
|
||||
{% include ".icons/material/share-variant.svg" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
<button
|
||||
type="reset"
|
||||
class="md-search__icon md-icon"
|
||||
title="{{ lang.t('search.reset') }}"
|
||||
aria-label="{{ lang.t('search.reset') }}"
|
||||
tabindex="-1"
|
||||
>
|
||||
{% include ".icons/material/close.svg" %}
|
||||
</button>
|
||||
</nav>
|
||||
{% if "search.suggest" in features %}
|
||||
<div class="md-search__suggest" data-md-component="search-suggest"></div>
|
||||
{% endif %}
|
||||
</form>
|
||||
<div class="md-search__output">
|
||||
<div class="md-search__scrollwrap" tabindex="-1">
|
||||
<div class="md-search-result" data-md-component="search-result">
|
||||
<div class="md-search-result__meta">
|
||||
{{ lang.t("search.result.initializer") }}
|
||||
</div>
|
||||
<ol class="md-search-result__list" role="presentation"></ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user