55 < meta charset =utf-8 >
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
77 {% if page.theme %}
8- < link rel =stylesheet href ={{ " assets/css/" | append: page.theme | relative_url }}>
8+ < link rel =stylesheet href =" {{ ' assets/css/' | append: page.theme | relative_url }} " >
99 {% else %}
10- < link rel =stylesheet href ={{ " assets/css/default.css" | relative_url }}>
10+ < link rel =stylesheet href =" {{ ' assets/css/default.css' | relative_url }} " >
1111 {% endif %}
12- < link rel =stylesheet href ={{ " assets/css/universal.css" | relative_url }}>
12+ < link rel =stylesheet href =" {{ ' assets/css/universal.css' | relative_url }} " >
1313 {% case page.style %}
1414 {% when 0 %}
15- < link rel =stylesheet href ={{ " assets/css/wiki.css" | relative_url }}>
15+ < link rel =stylesheet href =" {{ ' assets/css/wiki.css' | relative_url }} " >
1616 {% when 1 %}
17- < link rel =stylesheet href ={{ " assets/css/full_body.css" | relative_url }}>
17+ < link rel =stylesheet href =" {{ ' assets/css/full_body.css' | relative_url }} " >
1818 {% endcase %}
19- < link rel ="shortcut icon " href ={{ " assets/img/" | append: page.image.icon | relative_url }}>
19+ < link rel ="shortcut icon " href =" {{ ' assets/img/' | append: page.image.icon | relative_url }} " >
2020 </ head >
2121 < body >
2222 {% include navigation.html %}
2323
2424 {% if page.style == 1 %}
2525 < aside id ="body-image ">
26- < img src ={{ " assets/img/" | append: page.image.body | relative_url }} alt="Full body image of {{ page.name }}">
26+ < img src =" {{ ' assets/img/' | append: page.image.body | relative_url }} " alt ="Full body image of {{ page.name }} ">
2727 </ aside >
2828 {% endif %}
2929
@@ -38,7 +38,7 @@ <h1>{{ page.name }}</h1>
3838 < section id ="attributes ">
3939 {% if page.style == 0 %}
4040 < p class ="wiki-name "> < b > {{ page.name }}</ b > </ p >
41- < img src ={{ " assets/img/" | append: page.image.block | relative_url }} alt="Image of {{ page.name }}">
41+ < img src =" {{ ' assets/img/' | append: page.image.block | relative_url }} " alt ="Image of {{ page.name }} ">
4242 {% endif %}
4343 < table >
4444 < thead >
@@ -145,7 +145,7 @@ <h1>{{ page.name }}</h1>
145145 {% endcase %}
146146 {% for color in page.colors %}
147147 < button class ="{{ clip | default: '' }} " style ="background: #{{ color }} " onclick ="clipboard('#{{ color }}') ">
148- < img src ={{ " assets/img/ui/ICON_clipboard.png" | relative_url }} alt="Clipboard icon">
148+ < img src =" {{ ' assets/img/ui/ICON_clipboard.png' | relative_url }} " alt ="Clipboard icon ">
149149 </ button >
150150 {% endfor %}
151151 </ aside >
@@ -197,7 +197,7 @@ <h2>Gallery</h2>
197197 < div >
198198 {% for image in page.gallery %}
199199 < a href ="#image_{{ forloop.index }} ">
200- < img id ="image{{ forloop.index }} " src ={{ " assets/img/" | append: image[1].file | relative_url }} alt={{ image[0] }}>
200+ < img id ="image{{ forloop.index }} " src =" {{ ' assets/img/' | append: image[1].file | relative_url }} " alt ={{ image[0] }} >
201201 </ a >
202202 {% endfor %}
203203 </ div >
@@ -238,11 +238,33 @@ <h2>Gallery</h2>
238238 {% endif %}
239239 </ section >
240240 {% endif %}
241+
242+ {% if page.tags.size != 0 %}
243+ < section id ="tags ">
244+ {% unless page.permissions or page.ownership %}
245+ < hr >
246+ {% endunless %}
247+ < details >
248+ < summary > Tags</ summary >
249+ < ul >
250+ {% assign tags = page.tags | uniq %}
251+ {% for tag in tags %}
252+ < li >
253+ {% capture url %}tag/{{ tag }}.html{% endcapture %}
254+ < a href ="{{ url | relative_url }} "> {{ tag }}</ a >
255+ </ li >
256+ {% endfor %}
257+ </ ul >
258+ </ details >
259+
260+ </ section >
261+ {% endif %}
241262 </ main >
263+
242264 {% for image in page.gallery %}
243265 < aside id ="image_{{ forloop.index }} " class ="full-image ">
244266 < div class ="image-view ">
245- < img src ={{ " assets/img/" | append: image[1].file | relative_url }} alt="{{ image[1].alt | default: image[0] }}">
267+ < img src =" {{ ' assets/img/' | append: image[1].file | relative_url }} " alt ="{{ image[1].alt | default: image[0] }} ">
246268
247269 < div class ="image-nav ">
248270 {% unless forloop.first %}
@@ -295,6 +317,6 @@ <h1>{{ image[0] }}</h1>
295317 {% include footer.html %}
296318 </ body >
297319 {% if page.colors.size > 0 %}
298- < script src ={{ " assets/js/clipboard.js" | relative_url }} charset="utf-8"> </ script >
320+ < script src =" {{ ' assets/js/clipboard.js' | relative_url }} " charset ="utf-8 "> </ script >
299321 {% endif %}
300322</ html >
0 commit comments