Skip to content

Commit fd353ce

Browse files
committed
fix: Correct issue with icon path
1 parent 89afabb commit fd353ce

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed

overrides/partial/header.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% set class = "md-header" %}
5+
{% if "navigation.tabs.sticky" in features %}
6+
{% set class = class ~ " md-header--shadow md-header--lifted" %}
7+
{% elif "navigation.tabs" not in features %}
8+
{% set class = class ~ " md-header--shadow" %}
9+
{% endif %}
10+
<header class="{{ class }}" data-md-component="header">
11+
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header') }}">
12+
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
13+
{% include "partials/logo.html" %}
14+
</a>
15+
<label class="md-header__button md-icon" for="__drawer">
16+
{% set icon = config.theme.icon.menu or "material/menu" %}
17+
{% include ".icons/" ~ icon ~ ".svg" %}
18+
</label>
19+
<div class="md-header__title" data-md-component="header-title">
20+
<div class="md-header__ellipsis">
21+
<div class="md-header__topic">
22+
<span class="md-ellipsis">
23+
{{ config.site_name }}
24+
</span>
25+
</div>
26+
<div class="md-header__topic" data-md-component="header-topic">
27+
<span class="md-ellipsis">
28+
{% if page.meta and page.meta.title %}
29+
{{ page.meta.title }}
30+
{% else %}
31+
{{ page.title }}
32+
{% endif %}
33+
</span>
34+
</div>
35+
</div>
36+
</div>
37+
{% if config.theme.palette %}
38+
{% if not config.theme.palette is mapping %}
39+
{% include "partials/palette.html" %}
40+
{% endif %}
41+
{% endif %}
42+
{% if not config.theme.palette is mapping %}
43+
{% include "partials/javascripts/palette.html" %}
44+
{% endif %}
45+
{% if config.extra.alternate %}
46+
{% include "partials/alternate.html" %}
47+
{% endif %}
48+
{% if "material/search" in config.plugins %}
49+
<label class="md-header__button md-icon" for="__search">
50+
{% set icon = config.theme.icon.search or "material/magnify" %}
51+
{% include ".icons/" ~ icon ~ ".svg" %}
52+
</label>
53+
{% include "partials/search.html" %}
54+
{% endif %}
55+
{% if config.repo_url %}
56+
<div class="md-header__source">
57+
{% include "partials/source.html" %}
58+
</div>
59+
{% endif %}
60+
<button id="export-button" class="md-header__button md-icon" title="Export Citation">
61+
{% set icon = format-quote-close %}
62+
{% include ".icons/" ~ icon ~ ".svg" %}
63+
</button>
64+
<dialog id="citation-dialog">
65+
66+
<header>
67+
<h2 class="dialog-header">Export Citation</h2>
68+
<div align="right">
69+
<button id="close-citation-dialog-button" class="close-button" autofocus>&#x2716</button>
70+
</div>
71+
</header>
72+
73+
<div id= "citation" class="highlight">
74+
```
75+
@article{fieni-2024,
76+
TITLE = {{PowerAPI: A Python framework for building software-defined power meters}},
77+
AUTHOR = {Fieni, Guillaume and Acero, Daniel Romero and Rust, Pierre and Rouvoy, Romain},
78+
URL = {https://hal.science/hal-04601379},
79+
JOURNAL = {{Journal of Open Source Software}},
80+
PUBLISHER = {{Open Journals}},
81+
VOLUME = {9},
82+
NUMBER = {98},
83+
PAGES = {6670},
84+
YEAR = {2024},
85+
MONTH = Jun,
86+
DOI = {10.21105/joss.06670},
87+
KEYWORDS = {Power ; Energy ; Toolkit ; Measurement ; Framework},
88+
PDF = {https://hal.science/hal-04601379/file/10.21105.joss.06670-3.pdf},
89+
HAL_ID = {hal-04601379},
90+
HAL_VERSION = {v1},
91+
}
92+
```
93+
</div>
94+
<button id="copy-citation" title="Copy citation">Copy citation</button>
95+
</dialog>
96+
</nav>
97+
{% if "navigation.tabs.sticky" in features %}
98+
{% if "navigation.tabs" in features %}
99+
{% include "partials/tabs.html" %}
100+
{% endif %}
101+
{% endif %}
102+
</header>

0 commit comments

Comments
 (0)