diff --git a/config.toml b/config.toml index f9705c5..c066d97 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,7 @@ baseURL = "/" locale = "en" defaultContentLanguage = "en" -title = "My digital brain" +title = "Thomas Dehaeze" preserveTaxonomyNames = true enableRobotsTXT = true enableEmoji = true @@ -26,11 +26,11 @@ changefreq = "weekly" priority = 0.5 filename = "sitemap.xml" -# [[menu.main]] -# name = "Home" -# weight = 10 -# identifier = "home" -# url = "/" +[[menu.main]] +name = "Home" +weight = 10 +identifier = "home" +url = "/" [[menu.main]] name = "Publications" @@ -39,16 +39,16 @@ identifier = "research" url = "/research/" [[menu.main]] -name = "Zettels" -weight = 30 -identifier = "zettels" -url = "/zettels/" +name = "Projects" +weight = 25 +identifier = "projects" +url = "/projects/" [[menu.main]] -name = "Bibliography" -weight = 50 -identifier = "bibliography" -url = "/bibliography/" +name = "Notes" +weight = 30 +identifier = "notes" +url = "/notes/" [[menu.main]] name = "Search" @@ -56,6 +56,9 @@ weight = 70 identifier = "search" url = "/search/" +[permalinks] +zettels = "/notes/:slug/" + [outputs] home = ["HTML", "RSS", "JSON"] @@ -66,9 +69,8 @@ debug = false since = "2020" gitRepo = "" -logoTitle = "Digital Brain" -keywords = ["org-roam","research"] -description = "My personnal digital brain" +keywords = ["mechatronics","research"] +description = "My personnal website about mechatronics" archivePaginate = 5 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..3c7a12a --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,19 @@ +{{- $page := . -}} +{{- $bib := slice "book" "article" "inbook" "inproceedings" "phdthesis" "techreport" "websites" -}} + diff --git a/layouts/partials/slideout.html b/layouts/partials/slideout.html new file mode 100644 index 0000000..6890b64 --- /dev/null +++ b/layouts/partials/slideout.html @@ -0,0 +1,16 @@ +
+
+ + + +
+
+ \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css index 9b45456..6934366 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -57,5 +57,7 @@ } } -.list-zettels .subcategory { list-style: none; margin-top: .8em; } -.list-zettels .list-subtitle { font-weight: bold; } + +.site-navbar .menu-item-link.active { color: #c05b4d; font-weight: bold; } +.header .site-navbar { float: none; text-align: center; } +.header .site-navbar .menu { padding-right: 0; }