Využití ikon v metadatech a u stránkování
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
||||
<link rel="stylesheet" href="/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="/fonts/icons.css" type="text/css">
|
||||
<link rel="stylesheet" href="/icons.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -26,9 +26,9 @@
|
||||
{% endmacro print_recipe %}
|
||||
|
||||
{% macro pagination() %}
|
||||
{% if paginator.previous %}<a href="{{ paginator.previous }}">« Předchozí stránka</a> |{% endif %}
|
||||
{% if paginator.previous %}<a href="{{ paginator.previous }}"><span class="icon icon-arrow-left2"></span></a>{% endif %}
|
||||
<span>{{ paginator.current_index }} / {{ paginator.number_pagers }}</span>
|
||||
{% if paginator.next %}| <a href="{{ paginator.next }}">Další stránka »</a>{% endif %}
|
||||
{% if paginator.next %}<a href="{{ paginator.next }}"><span class="icon icon-arrow-right2"></span></a>{% endif %}
|
||||
{% endmacro pagination %}
|
||||
|
||||
{% macro subnav() %}
|
||||
@ -50,9 +50,9 @@
|
||||
{% endmacro recipe_image %}
|
||||
|
||||
{% macro recipe_meta() %}
|
||||
{% if page.extra.portions %}<span class="tag">Porce: <strong>{{ page.extra.portions }}</strong></span>{% endif %}
|
||||
{% if page.extra.time %}<span class="tag">Doba přípravy: <strong>{{ page.extra.time }} min</strong></span>{% endif %}
|
||||
{% if page.extra.source %}<span class="tag">Zdroj: <strong>{{ page.extra.source }}</strong></span>{% endif %}
|
||||
{% if page.extra.portions %}<span class="item" title="Porce"><span class="icon icon-spoon-knife"></span>{{ page.extra.portions }}</span>{% endif %}
|
||||
{% if page.extra.time %}<span class="item" title="Doba přípravy"><span class="icon icon-clock"></span>{{ page.extra.time }} min</span>{% endif %}
|
||||
{% if page.extra.source %}<span class="item" title="Zdroj"><span class="icon icon-book"></span>{{ page.extra.source }}</span>{% endif %}
|
||||
<a href="{{ config.extra.git }}/_edit/master/content/{{ page.relative_path }}" class="edit" title="Upravit"><span class="icon-pencil"></span></a>
|
||||
{% endmacro recipe_meta %}
|
||||
|
||||
|
Reference in New Issue
Block a user