added post, updated readme
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
### Prereqs:
|
||||
Docker
|
||||
Internet connection
|
||||
|
||||
### To run:
|
||||
docker build -t blog .
|
||||
docker run -p 1313:1313 blog
|
||||
git clone https://github.com/scottyah/scottyah-blog.git
|
||||
docker build --no-cache -t blog-svr .
|
||||
docker run -d -p 80:80 blog-svr
|
||||
@@ -21,20 +21,43 @@ name = "About"
|
||||
url = "/about/"
|
||||
weight = 3
|
||||
|
||||
[[menu.main]]
|
||||
name = "Projects"
|
||||
url = "/projects/"
|
||||
weight = 4
|
||||
|
||||
|
||||
[markup]
|
||||
[markup.tableOfContents]
|
||||
endLevel = 4
|
||||
ordered = false
|
||||
startLevel = 2
|
||||
[markup.highlight]
|
||||
codeFences = true
|
||||
guessSyntax = false
|
||||
hl_Lines = ""
|
||||
lineNoStart = 1
|
||||
lineNos = true
|
||||
lineNumbersInTable = false
|
||||
noClasses = true
|
||||
style = "dracula"
|
||||
tabWidth = 4
|
||||
|
||||
[params]
|
||||
|
||||
colortheme = "white" # dark, light, white, or classic
|
||||
rss = true # generate rss feed. default value is false
|
||||
googleAnalyticsAsync = true # use asynchronous tracking. Synchronous tracking by default
|
||||
showAllPostsArchive = false
|
||||
|
||||
# Home page settings
|
||||
description = "YAPB: Yet Another Programmer's Blog"
|
||||
mainSection = "posts" # your main section
|
||||
mainSectionTitle = "Posts"
|
||||
showAllPostsOnHomePage = false
|
||||
postsOnHomePage = 5 # this option will be ignored if showAllPostsOnHomePage is set to true
|
||||
showProjectsList = true # show projects list by default (if projects data file exists).
|
||||
projectsUrl = "https://github.com/scottyah/scottyah-blog" # title link for projects list
|
||||
projectsUrl = "projects" # title link for projects list
|
||||
|
||||
# https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
|
||||
dateFormat = "2006-01-02" # default
|
||||
|
||||
8
hugo-content/content/projects/blog.md
Normal file
8
hugo-content/content/projects/blog.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Blog"
|
||||
date: 2022-07-31T18:50:26-07:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
You're on it!
|
||||
Here's the [source](https://github.com/scottyah/scottyah-blog), and you're being hosted [on this](/about/setup)
|
||||
Reference in New Issue
Block a user