Skip to content

Commit

Permalink
Merge pull request #97 from hbz/96-fix-accessibility-issues
Browse files Browse the repository at this point in the history
Improve accessibility
  • Loading branch information
Phu2 authored Jul 9, 2024
2 parents 7540584 + 43109db commit 6bd3769
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 34 deletions.
4 changes: 2 additions & 2 deletions _includes/tags.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p style='text-align:center'>
<b>&#127991;</b>
<span>&#127991;</span>
<small>
{% capture temp_tags %}
{% for tag in site.tags %}
Expand All @@ -10,7 +10,7 @@
{% for temp_tag in sorted_temp_tags %}
{% assign tag_items = temp_tag | split: '#' %}
{% capture tag_name %}{{ tag_items[1] }}{% endcapture %}
<a href="/tags/{{ tag_name }}"><code><nobr>{{ tag_name }}</nobr></code></a>
<a href="/tags/{{ tag_name }}"><code style="white-space: nowrap;">{{ tag_name }}</code></a>
{% endfor %}
</small>
</p>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html lang="de">
<head>
<meta charset="UTF-8">
<title>{{ page.title }}</title>
<link rel="shortcut icon" type="image/png" href="/images/favicon.png">
<link rel="stylesheet" type="text/css" href="/css/main.css">
<link rel="alternate" type="application/rss+xml" title="lobd blog RSS feed" href="http://blog.lobid.org/feed.xml" />
Expand All @@ -29,6 +28,7 @@
<footer>
<ul>
<li><a href="mailto:semweb@hbz-nrw.de">Contact</a></li>
<li><a href="https://www.hbz-nrw.de/barrierefreiheit">Accessibility</a></li>
<li><a href="https://lobid.org">lobid.org</a></li>
<li><a href="https://github.com/hbz">github.com/hbz</a></li>
<li><a href="https://metadaten.community/c/software-und-tools/lobid/10">Discourse</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<h1>{{ page.title }}</h1>
<p class="meta">
<small>{{ page.date | date_to_string }}{% if page.updated != null %} &ndash; {{page.updated | date_to_string}}{% endif %}, {{ page.author }}
| <b>&#127991;</b>
| <span>&#127991;</span>
{% for tag in page.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="/tags/{{ tag_name }}"><code><nobr>{{ tag_name }}</nobr></code></a>&nbsp;
<a href="/tags/{{ tag_name }}"><code style="white-space: nowrap;">{{ tag_name }}</code></a>&nbsp;
{% endfor %}
</small>
</p>
Expand Down
21 changes: 10 additions & 11 deletions _layouts/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
<div class="post">

<h1>&#127991; {{ page.title }}</h1>
<ul class="posts">
<table>
{% for post in site.tags[page.tag] %}
<tr>
<td>{{ post.date | date_to_string }}</td>
<td>{{ post.author }}</td>
<td>» <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
</ul>

<table class="posts">
{% for post in site.tags[page.tag] %}
<tr>
<td>{{ post.date | date_to_string }}</td>
<td>{{ post.author }}</td>
<td>» <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
4 changes: 1 addition & 3 deletions _posts/2020-05-19-stellenausschreibung-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ Für weitere Rückfragen steht Ihnen Herr Pohl gerne zur Verfügung (Telefon 022
**Verfahren**
Ihre Bewerbung mit den üblichen Unterlagen richten Sie bitte mit dem Kennwort "20oiDEV" bis zum **14.06.2020** an das

<p style="text-align:center;">
<b>
<p style="text-align:center;font-weight: bold;">
Hochschulbibliothekszentrum des Landes NRW<br />
Personalservice<br />
Postfach 27 04 51<br />
50510 Köln
</b>
</p>
oder digital per E-Mail an: **bewerbung@hbz-nrw.de**.

Expand Down
4 changes: 1 addition & 3 deletions _posts/2020-06-03-stellenausschreibung-bib.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ Für weitere Rückfragen steht Ihnen Herr Pohl gerne zur Verfügung (Telefon 022
**Verfahren**
Ihre Bewerbung mit den üblichen Unterlagen richten Sie bitte mit dem Kennwort "20oiDEV" bis zum **21.06.2020** an das

<p style="text-align:center;">
<b>
<p style="text-align:center;font-weight:bold;">
Hochschulbibliothekszentrum des Landes NRW<br />
Personalservice<br />
Postfach 27 04 51<br />
50510 Köln
</b>
</p>
oder digital per E-Mail an: **bewerbung@hbz-nrw.de**.

Expand Down
2 changes: 1 addition & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ footer {
font-size: .8em;
}

ul.posts {
ul.posts, table.posts {
margin: 20px auto 40px;
padding-left: 0px;
}
Expand Down
21 changes: 10 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
title: Blog
---
{% include tags.html %}
<ul class="posts">
<table>
{% for post in site.posts %}
<tr>
<td>{{ post.date | date_to_string }}</td>
<td>{{ post.author }}</td>
<td>» <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
</ul>

<table class="posts">
{% for post in site.posts %}
<tr>
<td>{{ post.date | date_to_string }}</td>
<td>{{ post.author }}</td>
<td>» <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>

0 comments on commit 6bd3769

Please sign in to comment.