Initial Commit

This commit is contained in:
Thomas Dehaeze 2020-04-20 18:27:10 +02:00
commit 49f9a7b10b
13 changed files with 167 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
nohup.out

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/clean-even"]
path = themes/clean-even
url = https://github.com/tdehaeze/clean-even

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

155
config.toml Normal file
View File

@ -0,0 +1,155 @@
baseURL = "http://localhost:1313/"
languageCode = "en"
defaultContentLanguage = "en"
title = "My digital brain"
preserveTaxonomyNames = true
enableRobotsTXT = true
enableEmoji = true
theme = "clean-even"
enableGitInfo = false
# Syntax highlighting by Chroma. NOTE: Don't enable `highlightInClient` and `chroma` at the same time!
pygmentsOptions = "linenos=table"
pygmentsCodefences = true
pygmentsUseClasses = true
pygmentsCodefencesGuessSyntax = true
hasCJKLanguage = false
paginate = 5
copyright = ""
[author]
name = "Thomas Dehaeze"
[sitemap]
changefreq = "weekly"
priority = 0.5
filename = "sitemap.xml"
[[menu.main]]
name = "Home"
weight = 10
identifier = "home"
url = "/"
# [[menu.main]]
# name = "Blog"
# weight = 20
# identifier = "posts"
# url = "/posts/"
[[menu.main]]
name = "Zettels"
weight = 30
identifier = "zettels"
url = "/zettels/"
[[menu.main]]
name = "Books"
weight = 40
identifier = "book"
url = "/book/"
[[menu.main]]
name = "Papers"
weight = 50
identifier = "paper"
url = "/paper/"
[params]
version = "4.x"
debug = false
since = "2020"
gitRepo = ""
logoTitle = "Digital Brain"
keywords = ["org-roam","research"]
description = "My personnal digital brain"
archivePaginate = 5
# show 'xx Posts In Total' in archive page ?
showArchiveCount = false
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
dateFormatToUse = "2006-01-02"
# show word count and read time ?
moreMeta = false
# Syntax highlighting by highlight.js
highlightInClient = false
toc = true
autoCollapseToc = true
# mathjax
mathjax = true
mathjaxEnableSingleDollar = true
mathjaxEnableAutoNumber = true
mathjaxUseLocalFiles = false # You should install mathjax in `your-site/static/lib/mathjax`
postMetaInFooter = false
linkToMarkDown = false
contentCopyright = ''
# Link custom CSS and JS assets
# (relative to /static/css and /static/js respectively)
customCSS = []
customJS = []
uglyURLs = false
# load these files from public cdn
[params.publicCDN]
enable = true
jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'
slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>'
fancyboxJS = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>'
fancyboxCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">'
timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>'
timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>'
# Display a message at the beginning of an article to warn the readers that it's content may be outdated.
[params.outdatedInfoWarning]
enable = false
hint = 30
warn = 180
[params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
[params.utterances] # https://utteranc.es/
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
[params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
[params.valine]
enable = false
[params.busuanzi]
enable = false
[params.social]
a-email = "mailto:dehaeze.thomas@gmail.com"
g-github = "https://github.com/tdehaeze/"
# See https://gohugo.io/about/hugo-and-gdpr/
[privacy]
[privacy.googleAnalytics]
anonymizeIP = true
[privacy.youtube]
privacyEnhanced = true
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

0
readme.org Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
static/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

BIN
static/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

1
themes/clean-even Submodule

@ -0,0 +1 @@
Subproject commit d5f9575a83ff165c5a560b68a49493459ec5f326