mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Code refactoring
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{{ $cv := resources.Get "cv.pdf" }}
|
||||
|
||||
<nav id="mobile-navigation">
|
||||
<div id="menus">
|
||||
{{ range site.Menus.main.Sort.ByWeight }}
|
||||
<a {{ printf "href=%q" .URL | safeHTMLAttr }}>{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr>
|
||||
<div id="links">
|
||||
<span
|
||||
class="theme-toggler"
|
||||
>
|
||||
{{ readFile "assets/icons/moon.svg" | safeHTML }}
|
||||
{{ readFile "assets/icons/sun.svg" | safeHTML }}
|
||||
</span>
|
||||
<a href="{{ $cv.Permalink }}" target="_blank"> {{ readFile "assets/icons/cv.svg" | safeHTML }} </a>
|
||||
<a href="mailto:me@hazemkrimi.tech" target="_blank"> {{ readFile "assets/icons/mail.svg" | safeHTML }} </a>
|
||||
<a href="{{ urls.JoinPath .Site.BaseURL "index.xml" }}" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
|
||||
<a href="https://github.com/hazemKrimi" target="_blank"> {{ readFile "assets/icons/github.svg" | safeHTML }} </a>
|
||||
<a href="https://twitter.com/HazemKrimi" target="_blank"> {{ readFile "assets/icons/twitter.svg" | safeHTML }} </a>
|
||||
<a href="https://www.linkedin.com/in/hazemkrimi" target="_blank"> {{ readFile "assets/icons/linkedin.svg" | safeHTML }} </a>
|
||||
</div>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user