who knows
All checks were successful
Build Hugo Site / build (push) Successful in 7s

This commit is contained in:
John 2025-03-09 19:04:11 -05:00
parent d404655fec
commit 7a855526d5
5 changed files with 38 additions and 9 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: "Hello, world" title: "Blog"
description: "This is a website" menu: "main"
date: 2025-03-08 weight: 2
layout: "list"
outputs: ["HTML", "RSS"]
--- ---
Hello World maybe

6
content/posts/_index.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Blog"
menu: "main"
weight: 2
layout: "list"
---

View File

@ -1,7 +1,9 @@
--- ---
title: "First post" title: "My First Post"
date: 2025-03-08 date: 2025-03-09
tags: ["hugo", "test"]
draft: false draft: false
layout: "single"
type: "post"
outputs: ["HTML"]
--- ---
This is the first post!!!

View File

@ -5,6 +5,26 @@ theme = "hugo-bearcub"
enableRobotsTXT = true enableRobotsTXT = true
[menu]
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "Posts"
url = "/posts/"
weight = 2
[taxonomies]
tag = "tags"
[outputs]
home = ["HTML", "RSS"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
term = ["HTML", "RSS"]
page = ["HTML"]
# Setup syntax highlighting without inline styles. For more information about # Setup syntax highlighting without inline styles. For more information about
# why you'd want to avoid inline styles, see # why you'd want to avoid inline styles, see
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles

View File

@ -1,6 +1,7 @@
{{ define "main" }} {{ define "main" }}
<section class="hero"> <section class="hero">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
hello
<p>{{ .Content }}</p> <p>{{ .Content }}</p>
</section> </section>