Add dynamic blog preview to homepage
- Create blog/posts.json for managing blog post metadata - Add blog preview box (max 1/3 screen width) to homepage - Fetch latest post dynamically with image and excerpt - Updates automatically when new posts added to JSON - Styled to fit no-scroll homepage layout - Link to full blog page for each post
This commit is contained in:
@ -243,6 +243,12 @@
|
||||
<a href="https://dangrubb.net/music">EXCLUSIVE: Leaked mixtape from Darnea's vault</a>
|
||||
</p>
|
||||
|
||||
<div class="blog-preview-container">
|
||||
<div class="blog-preview" id="latestBlogPreview">
|
||||
<p style="color: #9d9aa4;">Loading latest post...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="debug">
|
||||
<div class="code"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user