feat: rss in nav bar

This commit is contained in:
coolnsx
2025-05-19 20:35:31 +05:30
parent 91d644500a
commit 32ce2185f2
2 changed files with 14 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
# The URL the site will be built for # The URL the site will be built for
base_url = "https://coolans.dev" base_url = "https://coolans.dev"
# The site title and description; used in feeds by default.
title = "Coolans Blogs"
# Whether to automatically compile all Sass files in the sass directory # Whether to automatically compile all Sass files in the sass directory
compile_sass = false compile_sass = false

View File

@@ -126,13 +126,21 @@
<!-- Nav Links --> <!-- Nav Links -->
<ul <ul
id="mobile-menu" id="mobile-menu"
class="hidden sm:flex sm:static absolute right-10 top-full px-6 py-3 rounded-2xl bg-gray-900/70 border border-gray-800 shadow-xl backdrop-blur-md space-x-6 sm:space-x-6 flex-col sm:flex-row max-w-screen text-gray-300 sm:items-center" class="hidden sm:flex sm:static absolute right-10 top-full px-6 rounded-2xl bg-gray-900/70 border border-gray-800 shadow-xl backdrop-blur-md space-x-6 sm:space-x-6 flex-col sm:flex-row max-w-screen text-gray-300 sm:items-center"
> >
<li> <li>
<a href="/" class="hover:text-blue-400 block py-2 sm:py-0">Home</a> <a href="/" class="hover:text-blue-400 block py-3">Home</a>
</li> </li>
<li> <li>
<a href="/blog" class="hover:text-blue-400 block py-2 sm:py-0">Blogs</a> <a href="/blog" class="hover:text-blue-400 block py-3">Blogs</a>
</li>
<li>
<a href="/rss.xml" class="text-orange-400 py-3 flex">
RSS&nbsp;
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-1 fill-current" viewBox="0 0 20 20">
<path d="M4.26 17.63a1.63 1.63 0 1 0 0 3.26 1.63 1.63 0 0 0 0-3.26zM2 10.92v2.15a9 9 0 0 1 9 9h2.15a11.16 11.16 0 0 0-11.15-11.15zm0-5.3v2.15a14.32 14.32 0 0 1 14.31 14.3h2.15A16.47 16.47 0 0 0 2 5.62z"/>
</svg>
</a>
</li> </li>
</ul> </ul>
</div> </div>