Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions assets/scss/common/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ a.broken {
padding: 0.1em 0.2em;
}

.docs-content p a {
text-decoration: underline;
}

// Reduce spacing between cards on the homepage.
.home .card {
margin-top: 2rem;
Expand Down
88 changes: 49 additions & 39 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
# mounts
## archetypes
[[mounts]]
source = "node_modules/@thulite/doks-core/archetypes"
target = "archetypes"

[[mounts]]
source = "archetypes"
target = "archetypes"

## assets
[[mounts]]
source = "node_modules/@thulite/core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@thulite/images/assets"
target = "assets"

[[mounts]]
source = "node_modules/@thulite/doks-core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"

[[mounts]]
source = "assets"
target = "assets"
# Module Configuration File
#
# This file configures Hugo module settings, particularly module mounts which
# define how content is organized within the project.
#
# Mounts specify file paths in your project that Hugo should use when building
# the site. They allow for custom directory structures and integrating content
# from different locations.

## content
[[mounts]]
Expand All @@ -43,21 +21,14 @@
source = "data"
target = "data"

## i18n
[[mounts]]
source = "node_modules/@thulite/doks-core/i18n"
target = "i18n"

[[mounts]]
source = "i18n"
target = "i18n"

## layouts
[[mounts]]
source = "layouts"
target = "layouts"

[[mounts]]
# Exclude 'home.html' to avoid conflicts with a custom home page layout defined in the local 'layouts' directory.
excludeFiles = "home.html"
source = "node_modules/@thulite/doks-core/layouts"
target = "layouts"

Expand All @@ -77,6 +48,45 @@
source = "node_modules/@thulite/inline-svg/layouts"
target = "layouts"

## i18n
[[mounts]]
source = "node_modules/@thulite/doks-core/i18n"
target = "i18n"

[[mounts]]
source = "i18n"
target = "i18n"

## archetypes
[[mounts]]
source = "node_modules/@thulite/doks-core/archetypes"
target = "archetypes"

[[mounts]]
source = "archetypes"
target = "archetypes"

## assets
[[mounts]]
source = "node_modules/@thulite/core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@thulite/doks-core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"

[[mounts]]
source = "node_modules/@thulite/images/assets"
target = "assets"

[[mounts]]
source = "assets"
target = "assets"

## static
[[mounts]]
source = "node_modules/@thulite/doks-core/static"
Expand Down
4 changes: 2 additions & 2 deletions config/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const autoprefixer = require('autoprefixer');
const purgecss = require('@fullhuman/postcss-purgecss');
const { purgeCSSPlugin } = require('@fullhuman/postcss-purgecss');
const whitelister = require('purgecss-whitelister');

module.exports = {
plugins: [
autoprefixer(),
purgecss({
purgeCSSPlugin({
content: ['./hugo_stats.json'],
extractors: [
{
Expand Down
File renamed without changes.
Loading