diff --git a/README.md b/README.md index d9d7a71..375a96d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +### Prereqs: +Docker +Internet connection + ### To run: -docker build -t blog . -docker run -p 1313:1313 blog \ No newline at end of file +git clone https://github.com/scottyah/scottyah-blog.git +docker build --no-cache -t blog-svr . +docker run -d -p 80:80 blog-svr \ No newline at end of file diff --git a/hugo-content/config.toml b/hugo-content/config.toml index 3563211..6c50f37 100644 --- a/hugo-content/config.toml +++ b/hugo-content/config.toml @@ -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 diff --git a/hugo-content/content/projects/blog.md b/hugo-content/content/projects/blog.md new file mode 100644 index 0000000..4b45ac3 --- /dev/null +++ b/hugo-content/content/projects/blog.md @@ -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)