Add editorconfig

This commit is contained in:
BBaoVanC 2021-03-26 01:51:00 -05:00
parent 46c1660d52
commit e84980adcb
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 73 additions and 62 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*.{md,toml}]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
#[*.md]
#max_line_length = 80

View File

@ -4,83 +4,83 @@ theme = "terminal"
paginate = 5 paginate = 5
# [permalinks] # [permalinks]
# posts = "/:year/:month/:title/" # posts = "/:year/:month/:title/"
[params] [params]
# dir name of your main content (default is `content/posts`). # dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl). # the list of set content will show up on your index page (baseurl).
contentTypeName = "posts" contentTypeName = "posts"
# ["orange", "blue", "red", "green", "pink"] # ["orange", "blue", "red", "green", "pink"]
themeColor = "blue" themeColor = "blue"
# if you set this to 0, only submenu trigger will be visible # if you set this to 0, only submenu trigger will be visible
showMenuItems = 2 showMenuItems = 2
# show selector to switch language # show selector to switch language
showLanguageSelector = false showLanguageSelector = false
# set theme to full screen width # set theme to full screen width
fullWidthTheme = false fullWidthTheme = false
# center theme with default width # center theme with default width
centerTheme = true centerTheme = true
# set a custom favicon (default is a `themeColor` square) # set a custom favicon (default is a `themeColor` square)
favicon = "icon/favicon.ico" favicon = "icon/favicon.ico"
# set post to show the last updated # 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 # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
showLastUpdated = false 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 # 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" # updatedDatePrefix = "Updated"
# set all headings to their default size (depending on browser settings) # set all headings to their default size (depending on browser settings)
# it's set to `true` by default # it's set to `true` by default
# oneHeadingSize = false # oneHeadingSize = false
[params.twitter] [params.twitter]
# set Twitter handles for Twitter cards # set Twitter handles for Twitter cards
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
# do not include @ # do not include @
creator = "" creator = ""
site = "" site = ""
[languages] [languages]
[languages.en] [languages.en]
languageName = "English" languageName = "English"
title = "bbaovanc's blog" title = "bbaovanc's blog"
subtitle = "My personal blog site" subtitle = "My personal blog site"
owner = "bbaovanc" owner = "bbaovanc"
keywords = "" keywords = ""
copyright = "" copyright = ""
menuMore = "Show more" menuMore = "Show more"
readMore = "Read more" readMore = "Read more"
readOtherPosts = "Read other posts" readOtherPosts = "Read other posts"
newerPosts = "Newer posts" newerPosts = "Newer posts"
olderPosts = "Older posts" olderPosts = "Older posts"
missingContentMessage = "Page not found..." missingContentMessage = "Page not found..."
missingBackButtonLabel = "Back to home page" missingBackButtonLabel = "Back to home page"
[languages.en.params.logo] [languages.en.params.logo]
logoText = "bbaovanc's blog" logoText = "bbaovanc's blog"
logoHomeLink = "/blog/" logoHomeLink = "/blog/"
[languages.en.menu] [languages.en.menu]
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "other-sites" identifier = "other-sites"
name = "Other Sites" name = "Other Sites"
url = "/other-sites" url = "/other-sites"
weight = 10 weight = 10
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "main-website" identifier = "main-website"
name = "Main Website" name = "Main Website"
url = "https://bbaovanc.com/" url = "https://bbaovanc.com/"
weight = 20 weight = 20
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "rss" identifier = "rss"
name = "RSS Feed" name = "RSS Feed"
url = "/posts/index.xml" url = "/posts/index.xml"
weight = 30 weight = 30