Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: A11y - Use a darker contrast-compliant gray #396

Merged
merged 4 commits into from
Aug 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 9 additions & 27 deletions src/_includes/article.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
{% if item.category %}
{% if item.asset %}
{% assign url = item.asset %}
{% unless url contains "https://" %}
{% assign url = "/assets/" | append: url %}
{% endunless %}
{% else %}
{% assign url = item.url %}
{% endif %}
{% else %}
{% assign url = item.url %}
{% if item.external %}
{% assign url = item.external %}
{% endif %}
{% endif %}
{% if item.category %} {% if item.asset %} {% assign url = item.asset %} {% unless url contains "https://" %} {% assign url =
"/assets/" | append: url %} {% endunless %} {% else %} {% assign url = item.url %} {% endif %} {% else %} {% assign url = item.url
%} {% if item.external %} {% assign url = item.external %} {% endif %} {% endif %}
thekaveman marked this conversation as resolved.
Show resolved Hide resolved

<article class="d-block mb-3 pb-4">
<a
href="{{ url }}"
{% if item.external %}
target="_blank"
{% endif %}>{{ item.title }}</a>
<br/>
<span class="text-secondary font-poppins fs-7">
{% if item.outlet %}
{{ item.outlet }} |{% endif %}
{% if item.tags.size > 0 %}
{{ item.tags | join: ", " }} |{% endif %}
{% include date.html date=item.date format = "%b %Y" %}</span>
<a href="{{ url }}" {% if item.external %} target="_blank" {% endif %}>{{ item.title }}</a>
<br />
<span class="text-body-tertiary font-poppins fs-7">
{% if item.outlet %} {{ item.outlet }} |{% endif %} {% if item.tags.size > 0 %} {{ item.tags | join: ", " }} |{% endif %} {%
include date.html date=item.date format = "%b %Y" %}</span
thekaveman marked this conversation as resolved.
Show resolved Hide resolved
>
</article>