5745
Sc
sacenox.github.io / files
sacenox.github.io / _layouts / default.html
1.3 KB
1--- 2--- 3 4<!doctype html> 5<html lang="en"> 6 {% include head.html %} 7 <body class="font-serif antialiased bg-[#171717] text-[#d1d1d1] min-h-screen flex flex-col"> 8 9 <div class="max-w-3xl mx-auto w-full px-6 sm:px-8 flex flex-col min-h-screen"> 10 11 <header class="w-full flex items-center justify-between py-8 sm:py-10 mb-8"> 12 <a href="{{ '/' | relative_url }}" class="flex items-center gap-3 text-xl sm:text-2xl font-semibold text-[#f0f0f0] no-underline tracking-tight"> 13 <img src="https://avatars.githubusercontent.com/u/33629225?v=4" alt="avatar" class="w-8 h-8 sm:w-9 sm:h-9 rounded-full ring-1 ring-[#333]" width="36" height="36" loading="eager" decoding="async"> 14 sacenox 15 </a> 16 <nav class="flex items-center gap-6 text-base font-sans" aria-label="Main"> 17 <a href="{{ '/' | relative_url }}" 18 class="nav-link{% if page.url == '/' %} active{% endif %}">posts</a> 19 <a href="{{ '/about' | relative_url }}" 20 class="nav-link{% if page.url == '/about' or page.url == '/about/' %} active{% endif %}">about</a> 21 </nav> 22 </header> 23 24 <main class="flex-1 w-full"> 25 {{ content }} 26 </main> 27 28 <footer class="py-10 mt-12 text-sm font-sans text-[#555]"> 29 <span class="text-[#888]">{{ site.time | date: "%Y" }}</span> 30 </footer> 31 32 </div> 33 34 </body> 35</html>