Skip to content

Commit

Permalink
docs: add documentation regarding default date format
Browse files Browse the repository at this point in the history
* remove specifying `dateFormat` parameter in examplesite for testing
  • Loading branch information
hugo-sid committed Sep 25, 2023
1 parent 730ced7 commit 97ccc77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ disqusShortname = ''
# Your custom scripts will be concatinated to one file `custom.js`.
# When building for production it will be minified.
# The file `custom.js` is loaded on each page (before body tag ends).
dateFormat = "January 2, 2006" # default date format used on various pages
dateFormat = "" # date format used to show dates on various pages. If nothing is specified, then "2 Jan 2006" format is used.
# See https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for available date formats.
rssFeedDescription = "summary" # available options: 1) summary 2) full
# summary - includes a short summary of the blog post in the RSS feed. Generated using Hugo .Summary .
Expand Down Expand Up @@ -175,4 +175,4 @@ url = "https://twitter.com"

[[params.socialIcons]]
name = "Rss"
url = "index.xml"
url = "index.xml"

0 comments on commit 97ccc77

Please sign in to comment.