-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeremie Plante
committed
Feb 29, 2024
1 parent
69857d5
commit 24d7340
Showing
13 changed files
with
533 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
+++ | ||
title = 'My First Post' | ||
date = 2024-02-29T14:35:14-05:00 | ||
draft = false | ||
+++ | ||
--- | ||
title: My First Post | ||
description: Test post! | ||
date: 2024-02-29 | ||
draft: false | ||
tags: | ||
- test | ||
--- | ||
|
||
Hello World! | ||
Hello World :-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,115 @@ | ||
baseURL = 'https://example.org/' | ||
languageCode = 'en-us' | ||
title = 'My New Hugo Site' | ||
title = 'sin.io' | ||
theme = "hugo-blog-awesome" | ||
|
||
# This defines how dates are formatted | ||
defaultContentLanguage = "en-gb" | ||
|
||
# To enable Google Analytics 4 (gtag.js) provide G-MEASUREMENT_ID below. | ||
# To disable Google Analytics, simply leave the field empty or remove the next line | ||
googleAnalytics = '' # G-MEASUREMENT_ID | ||
|
||
# Enable emojis globally | ||
enableEmoji = true | ||
ignoreErrors = ["additional-script-loading-error"] # ignore error of loading additional scripts. | ||
|
||
# To enable Disqus comments, provide Disqus Shortname below. | ||
# To disable Disqus comments, simply leave the field empty or remove the next line | ||
disqusShortname = '' | ||
|
||
# set markup.highlight.noClasses=false to enable code highlight | ||
[markup] | ||
[markup.highlight] | ||
noClasses = false | ||
[markup.goldmark.renderer] | ||
unsafe = true | ||
[markup.tableOfContents] | ||
startLevel = 2 # ToC starts from H2 | ||
endLevel = 4 # ToC ends at H4 | ||
ordered = false # generates <ul> instead of <ol> | ||
|
||
############################## English language ################################ | ||
[Languages.en-gb] | ||
languageName = "English" | ||
languageCode = "en-gb" | ||
contentDir = "content/en" | ||
weight = 1 | ||
|
||
[Languages.en-gb.menu] | ||
[[Languages.en-gb.menu.main]] | ||
# The page reference (pageRef) is useful for menu highlighting | ||
# When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found. | ||
pageRef="/" | ||
name = 'Home' | ||
url = '/' | ||
weight = 10 | ||
[[Languages.en-gb.menu.main]] | ||
pageRef="posts" | ||
name = 'Posts' | ||
url = '/posts/' | ||
weight = 20 | ||
[[Languages.en-gb.menu.main]] | ||
pageRef="about" | ||
name = 'About' | ||
url = '/about/' | ||
weight = 30 | ||
|
||
[Languages.en-gb.params] | ||
sitename = "sin.io" | ||
defaultColor = "dark" # set color mode: dark, light, auto | ||
# Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank, | ||
# the default value is set to 'auto'. | ||
# You can take a look at layouts/index.html for more information. | ||
description = "sin.io" | ||
mainSections = ['posts'] | ||
toc = true # set to false to disable table of contents 'globally' | ||
tocOpen = false # set to true to open table of contents by default | ||
goToTop = true # set to false to disable 'go to top' button | ||
additionalScripts = ['js/custom.js', 'js/custom-2.js'] | ||
# Will try to load 'assets/js/custom.js' and 'assets/js/custom-2.js'. | ||
# 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 = "" # 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 . | ||
# full - includes full blog post in the RSS feed. Generated using Hugo .Content . | ||
# By default (or if nothing is specified), summary is used. | ||
|
||
[Languages.en-gb.params.author] | ||
avatar = "avatar.jpg" # put the file in assets folder; also ensure that image has same height and width | ||
# Note: image is not rendered if the resource(avatar image) is not found. No error is displayed. | ||
intro = "Awesome hugo blog" | ||
name = "Sidharth R" | ||
description = "A fast, minimalistic Hugo theme with light and dark mode support, for running a personal site or blog." | ||
|
||
# Allow to override webmanifest options | ||
[Languages.en-gb.params.webmanifest] | ||
name = "sitename" # will use "params.sitename" or "title" by default | ||
short_name = "sitename" # same as name | ||
start_url = "/" # will use homepage url by default | ||
theme_color = "#434648" # default is "#434648" (base color of text). Also will override html `<meta name="theme-color" />` | ||
background_color = "#fff" # by default depend on "params.defaultColor" for "light" or "auto" will be set to "#fff" for dark will be "#131418" (color of dark mode background) | ||
display = "standalone" | ||
|
||
|
||
################################################################### | ||
|
||
# Allow to override `browserconfig.xml` params (configuration for windows embeded browsers) | ||
[params.browserconfig] | ||
TileColor = "#2d89ef" # default windows 10 blue tile color | ||
|
||
[[params.socialIcons]] | ||
name = "github" | ||
url = "https://github.com/hugo-sid" | ||
|
||
[[params.socialIcons]] | ||
name = "twitter" | ||
url = "https://twitter.com" | ||
|
||
[[params.socialIcons]] | ||
name = "Rss" | ||
url = "index.xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.