diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..33e6a5b --- /dev/null +++ b/config.toml @@ -0,0 +1,73 @@ +baseURL = "https://bbaovanc.com/blog/" +languageCode = "en-us" +theme = "terminal" +paginate = 5 + +# [permalinks] +# posts = "/:year/:month/:title/" + +[params] + # dir name of your main content (default is `content/posts`). + # the list of set content will show up on your index page (baseurl). + contentTypeName = "posts" + + # ["orange", "blue", "red", "green", "pink"] + themeColor = "blue" + + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 2 + + # show selector to switch language + showLanguageSelector = false + + # set theme to full screen width + fullWidthTheme = false + + # center theme with default width + centerTheme = true + + # set a custom favicon (default is a `themeColor` square) + favicon = "img/favicon.ico" + + # set post to show the last updated + # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated + showLastUpdated = false + # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author + # updatedDatePrefix = "Updated" + + # set all headings to their default size (depending on browser settings) + # it's set to `true` by default + # oneHeadingSize = false + +[params.twitter] + # set Twitter handles for Twitter cards + # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution + # do not include @ + creator = "" + site = "" + +[languages] + [languages.en] + languageName = "English" + title = "bbaovanc's blog" + subtitle = "My personal blog site" + owner = "bbaovanc" + keywords = "" + copyright = "" + menuMore = "Show more" + readMore = "Read more" + readOtherPosts = "Read other posts" + newerPosts = "Newer posts" + olderPosts = "Older posts" + missingContentMessage = "Page not found..." + missingBackButtonLabel = "Back to home page" + + [languages.en.params.logo] + logoText = "bbaovanc's blog" + logoHomeLink = "/blog/" + + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "other-sites" + name = "Other Sites" + url = "/other-sites" diff --git a/content/other-sites.md b/content/other-sites.md new file mode 100644 index 0000000..842a8dc --- /dev/null +++ b/content/other-sites.md @@ -0,0 +1,7 @@ +--- +title: "Other Sites" +draft: false +--- + +- [GitHub](https://github.com/BBaoVanC) +- [Gitea](https://git.bbaovanc.com) diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..174aca7 Binary files /dev/null and b/static/img/favicon.ico differ