implemented blog posts
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<a href="/" class="text-2xl font-bold text-white">{{ site.author.name }}</a>
|
||||
<div class="hidden md:flex space-x-6 items-center">
|
||||
<a href="/#about" class="text-gray-300 hover:text-white">About</a>
|
||||
<a href="/blog" class="text-gray-300 hover:text-white">Blog</a>
|
||||
<a href="/#services" class="text-gray-300 hover:text-white">Services</a>
|
||||
<a href="/#skills" class="text-gray-300 hover:text-white">Skills</a>
|
||||
<a href="/#experience" class="text-gray-300 hover:text-white">Experience</a>
|
||||
@@ -34,6 +35,7 @@
|
||||
<!-- Mobile Menu -->
|
||||
<div id="mobile-menu" class="hidden md:hidden px-6 pt-2 pb-4 space-y-2">
|
||||
<a href="/#about" class="block text-gray-300 hover:text-white">About</a>
|
||||
<a href="/blog" class="block text-gray-300 hover:text-white">Blog</a>
|
||||
<a href="/#services" class="block text-gray-300 hover:text-white">Services</a>
|
||||
<a href="/#skills" class="block text-gray-300 hover:text-white">Skills</a>
|
||||
<a href="/#experience" class="block text-gray-300 hover:text-white">Experience</a>
|
||||
|
9
src/_includes/post.njk
Normal file
9
src/_includes/post.njk
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
layout: "layout.njk"
|
||||
---
|
||||
<article class="prose prose-invert lg:prose-xl max-w-none">
|
||||
<h1>{{ title }}</h1>
|
||||
<p class="text-gray-400">Published on: {{ date | readableDate }}</p>
|
||||
|
||||
{{ content | safe }}
|
||||
</article>
|
Reference in New Issue
Block a user