added post, updated readme
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
### Prereqs:
|
||||||
|
Docker
|
||||||
|
Internet connection
|
||||||
|
|
||||||
### To run:
|
### To run:
|
||||||
docker build -t blog .
|
git clone https://github.com/scottyah/scottyah-blog.git
|
||||||
docker run -p 1313:1313 blog
|
docker build --no-cache -t blog-svr .
|
||||||
|
docker run -d -p 80:80 blog-svr
|
||||||
@@ -21,20 +21,43 @@ name = "About"
|
|||||||
url = "/about/"
|
url = "/about/"
|
||||||
weight = 3
|
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]
|
[params]
|
||||||
|
|
||||||
colortheme = "white" # dark, light, white, or classic
|
colortheme = "white" # dark, light, white, or classic
|
||||||
rss = true # generate rss feed. default value is false
|
rss = true # generate rss feed. default value is false
|
||||||
|
googleAnalyticsAsync = true # use asynchronous tracking. Synchronous tracking by default
|
||||||
showAllPostsArchive = false
|
showAllPostsArchive = false
|
||||||
|
|
||||||
# Home page settings
|
# Home page settings
|
||||||
description = "YAPB: Yet Another Programmer's Blog"
|
description = "YAPB: Yet Another Programmer's Blog"
|
||||||
mainSection = "posts" # your main section
|
mainSection = "posts" # your main section
|
||||||
|
mainSectionTitle = "Posts"
|
||||||
showAllPostsOnHomePage = false
|
showAllPostsOnHomePage = false
|
||||||
postsOnHomePage = 5 # this option will be ignored if showAllPostsOnHomePage is set to true
|
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).
|
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
|
# https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
|
||||||
dateFormat = "2006-01-02" # default
|
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