#CONFIG file baseURL = "" # leave this empty languageCode = "en-us" title = "Game Design Knowledge & Practice Journal?" relativeurls = true disableKinds = ["RSS", "sitemap"] # journals probably should have at least keyword = "keywords" [taxonomies] keyword = "keywords" [params] ## sandpointsHome renders link to predefined home if page not in triad sandpointsHome = "journal/jgdr.md" description = "Journal for Game Design Research description..." sandpointsMentionedIn = ["contributor", "article", "artifact" ] ## sandpointsGiteaUrl is used in layouts/partials/header.html to generate links in admin ui bar sandpointsGiteaUrl = "https://git.sandpoints.org/we/jgdr" sandpointsCatalogPrefix = "/library/" sandpointsCatalogName = "jgdr" ## ADDED 17/8/23 [frontmatter] date = ['date', 'publishDate', 'lastmod'] publishDate = ['publishDate'] # add 'date' to return date if no publishdate declared #lastmod = [':git', 'lastmod', 'date', 'publishDate'] #expiryDate = ['expiryDate'] [outputFormats] [outputFormats.js] isPlainText = true #2211 edited after Hugo update, ## mediaType = "application/javascript" mediaType = "text/javascript" [outputs] list = ["html", "js"] [markup] [markup.tableOfContents] endLevel=4 ordered = true startLevel = 1 [markup.goldmark.renderer] unsafe = true [markup.goldmark.extensions] footnoteprefix = true ## Enable custom attribute support for titles and blocks by adding attribute lists inside single curly brackets ({.myclass class="class1 class2" }) and placing it after the Markdown element it decorates, on the same line for titles and on a new line directly below for blocks. introduced in hugo v0.81 # #[markup.goldmark.parser.attribute] #block = true [module] ## replacement allow for easier local development # # replacements = ["git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme", "git.sandpoints.org/Drawwell/SandpointsEditPage -> /home/m/devel/SandpointsEditPage"] ## if any customizations are added one should add, along with the customization imports, also the hugo's skeleton directory structure: archetypes, assets, layouts, static & data # [[module.imports]] path = "git.sandpoints.org/Drawwell/SandpointsTheme" # [[module.imports.mounts]] #commented out 2105, otherwise theme update will overwrite archetypes # source = "archetypes" # target = "archetypes" [[module.imports.mounts]] source = "assets" target = "assets" [[module.imports.mounts]] source = "layouts" target = "layouts" [[module.imports.mounts]] source = "static" target = "static" [[module.imports.mounts]] source = "data" target = "data" ## if not working on the css rendered via hugo's postcss pipes ## this should make it ready to go with only `hugo` and not `hugo -e dev` # #[[module.imports.mounts]] #source = "assets/css/site-min.css" #target = "static/css/site-min.css" ## import _index.md from SandpointsTheme exampleSite to content/metadata so the metadata is rendered without bothering the regular user # [[module.imports.mounts]] source = "exampleSite/content/metadata/_index.md" target = "content/metadata/_index.md" # CUSTOMIZATIONS - DOTAWO (15/8/23) # below is the list of imports to get the svelte webapp # which handles editing the website # [[module.imports.mounts]] # source = "customizations/Dotawo/static/fonts" # target = "static/fonts" # [[module.imports.mounts]] # source = "customizations/Dotawo/assets/css/site.css" # target = "assets/css/site.css" # [[module.imports.mounts]] # source = "customizations/Dotawo/static/css/site.min.css" # target = "static/css/site.min.css" # [[module.imports.mounts]] # source = "customizations/Dotawo/layouts/partials/header.html" # target = "layouts/partials/header.html" # [[module.imports.mounts]] # source = "customizations/Dotawo/layouts/partials/singlebody.html" # target = "layouts/partials/singlebody.html" # [[module.imports.mounts]] # source = "customizations/Dotawo/layouts/_default/_markup/render-image.html" # target = "layouts/_default/_markup/render-image.html" # [[module.imports.mounts]] # source = "customizations/Dotawo/layouts/_default/_markup/render-link.html" # target = "layouts/_default/_markup/render-link.html" # TEST CUSTOMIZATION ########################## # MOUNT CUSTOM FONTS ## Vanilla Fonts [[module.imports.mounts]] source = "customizations/jgdr/static/fonts" target = "static/fonts" # MOUNT CUSTOM CSS ## add figcaption ## add code ## edit pre (font scale) ## eding table (vert line right) [[module.imports.mounts]] source = "customizations/jgdr/static/css/site.min.css" target = "static/css/site.min.css" # MOUNT CUSTOM SITE.CSS ## based on Vanilla version, removed paragraph sign [[module.imports.mounts]] source = "customizations/jgdr/assets/css/site.css" target = "assets/css/site.css" # MOUNT CUSTOM PRINT CSS ## B5 page size [[module.imports.mounts]] source = "customizations/jgdr/static/css/print.css" target = "static/css/print.css" # MOUNT CUSTOM RENDERER FOR IMAGE ## INCLUDE figcaption and hover text(alt) [[module.imports.mounts]] source = "customizations/jgdr/layouts/_default/_markup/render-image.html" target = "layouts/_default/_markup/render-image.html" # MOUNT CUSTOM RENDERER FOR LIST ## remove date from keyword list [[module.imports.mounts]] source = "customizations/jgdr/layouts/taxonomy/list.html" target = "layouts/taxonomy/list.html" # FROM DOTAWO # MOUNT CUSTOM HEAD (Contains Zotero-Compatible Citation Metadata) [[module.imports.mounts]] source = "customizations/jgdr/layouts/partials/head.html" target = "layouts/partials/head.html" # MOUNT CUSTOM HEADER (DOTAWO CUSTOMIZATIONS) [[module.imports.mounts]] source = "customizations/jgdr/layouts/partials/header.html" target = "layouts/partials/header.html" # MOUNT CUSTOM SINGLE BODY (DOTAWO CUSTOMIZATIONS) [[module.imports.mounts]] source = "customizations/jgdr/layouts/partials/singlebody.html" target = "layouts/partials/singlebody.html" # MOUNT CUSTOM RENDER LINK (DOTAWO CUSTOMIZATIONS) [[module.imports.mounts]] source = "customizations/jgdr/layouts/_default/_markup/render-link.html" target = "layouts/_default/_markup/render-link.html" # [[module.imports]] path = "git.sandpoints.org/Drawwell/SandpointsEditPage" [[module.imports.mounts]] source = "public/index.md" target = "content/edit/index.md" [[module.imports.mounts]] source = "public/global.css" target = "static/edit/build/global.css" [[module.imports.mounts]] source = "public/build/bundle.js" target = "static/edit/build/bundle.js" [[module.imports.mounts]] source = "public/build/bundle.js.map" target = "static/edit/build/bundle.js.map"