Skip to content

Commit

Permalink
Fix header
Browse files Browse the repository at this point in the history
  • Loading branch information
خالد رافع committed Mar 6, 2025
1 parent 5d1d2fc commit a1dac5c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<header class="header">
<div class="header__inner">
<div class="header__logo">
{{ partial "logo.html" . }}
</div>
{{ if len $.Site.Menus }}
{{ partial "mobile-menu.html" . }}
{{ end }}
<button><a id="dark-mode-toggle" class="fas fa-moon"></a></button>
<script src="{{ "dark.js" | absURL }}" type="text/javascript"></script>
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
{{ partial "language-menu.html" . }}
{{ end }}
</div>
{{ if len $.Site.Menus }}
{{ partial "menu.html" . }}
{{ end }}
</header>
2 changes: 1 addition & 1 deletion public/en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

<div class="index-content framed">
<h3 id="welcome-to-khalids-shell">Welcome to Khalid&rsquo;s Shell</h3>
<p>I am <strong>Khalid</strong>, a writer passionate about technology. You have now entered my shell. Here, I show off my technical expertise. I have a particular interest in <strong>Linux, open source, and privacy</strong>. On this site, you will find various types oftechnical contents:</p>
<p>I am <strong>Khalid</strong>, a writer passionate about technology. You have now entered my shell. Here, I show off my technical expertise. I have a particular interest in Linux, open source, and privacy. On this site, you will find various types oftechnical contents:</p>
<ul>
<li><strong>Tutorials</strong>: Step-by-step guides for accomplishing various tasks in Linux and other technologies.</li>
<li><strong>Tips and Tricks</strong>: Strategies to make your work easier and more efficient using technology.</li>
Expand Down

0 comments on commit a1dac5c

Please sign in to comment.