Skip to content

Commit 58e7ccc

Browse files
committed
Refactor header markup for improved structure and readability
1 parent 1d4e7fa commit 58e7ccc

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

_includes/header.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,21 @@
1414
</div>
1515
<div class="site-header">
1616
<div class="wrapper">
17-
<div class="header-top">
18-
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
19-
<span class="social_links">
20-
{% for link in site.dash.social_links %}
21-
{% if link.fa == true %}
22-
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fa fa-{{ link.icon }}"></i></a>
23-
{% else %}
24-
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fab fa-{{ link.icon }}"></i></a>
25-
{% endif %}
26-
{% endfor %}
27-
</span>
17+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
18+
<span class="social_links">
19+
{% for link in site.dash.social_links %}
20+
{% if link.fa == true %}
21+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fa fa-{{ link.icon }}"></i></a>
22+
{% else %}
23+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fab fa-{{ link.icon }}"></i></a>
24+
{% endif %}
25+
{% endfor %}
26+
</span>
27+
<div style="clear: both; border-top: 1px solid rgba(255, 167, 196, 0.3); margin-top: 0.5em; padding-top: 0.75em;">
28+
<a href="/about/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em;">About</a>
29+
<a href="/archive/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em;">Archive</a>
30+
<a href="/tags/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em;">Tags</a>
2831
</div>
29-
<nav class="site-nav" style="display: block; border-top: 1px solid rgba(255, 167, 196, 0.3); padding-top: 0.75em; margin-top: 0.5em; width: 100%;">
30-
<a href="/about/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">About</a>
31-
<a href="/archive/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">Archive</a>
32-
<a href="/tags/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">Tags</a>
33-
</nav>
3432
</div>
3533
</div>
3634
</div>

0 commit comments

Comments
 (0)