Skip to content

Commit c79ffbe

Browse files
committed
fix(site): serve landing page as Hugo content page instead of static file
Move landing page from static/index.html to content/_index.html with a dedicated home layout. This ensures Hugo generates a proper root index that GitHub Pages CDN resolves correctly at /.
1 parent 19b13ae commit c79ffbe

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
type: page
3+
layout: home
4+
---
15
<!DOCTYPE html>
26
<html lang="en">
37
<head>

layouts/_default/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .Content }}

layouts/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)