We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 894db17 + a7bda0a commit e90db3eCopy full SHA for e90db3e
.nvmrc
@@ -0,0 +1 @@
1
+20
.vscode/ltex.disabledRules.en-GB.txt
@@ -1 +1,2 @@
COMMA_PARENTHESIS_WHITESPACE
2
+PASSIVE_VOICE
archive/template.md
@@ -34,6 +34,7 @@ redirect_from: [/link-to-post, /link-to-other-post] # Endpoints to redirect from
34
sitemap:
35
ignore: true # don't put in sitemap
36
# more options: https://www.npmjs.com/package/@quasibit/eleventy-plugin-sitemap
37
+showToc: true # Set false to hide toc
38
tocOptions: '{"tags":["h2","h3","h4"]}' # https://github.com/jdsteinbach/eleventy-plugin-toc?tab=readme-ov-file#options
39
preamble: Short text which isn't included in the body proper and won't be included in embeds.
40
eleventyExcludeFromCollections: true
assets/scss/_common.scss
@@ -135,6 +135,13 @@ h6 {
135
font-family: var(--default-font); // Default.
136
}
137
138
+mark {
139
+ padding: .13em 0;
140
+ --bs-highlight-bg: var(--mark-color);
141
+ // border: 1px red solid;
142
+ color: inherit;
143
+}
144
+
145
pre,
146
.alert {
147
border-radius: $border-radius !important;
assets/scss/_variables.scss
@@ -60,6 +60,8 @@ $transition-duration-slow: 0.5s;
60
--highlight-color: rgb(var(--highlight-color-rgb));
61
--border-color: rgb(var(--border-color-rgb));
62
63
+ --mark-color: rgba(var(--mark-color-rgb));
64
65
--main-text-color: rgb(var(--main-text-color-rgb));
66
--light-text-color: rgb(var(--light-text-color-rgb));
67
@@ -79,6 +81,7 @@ html[data-theme="dark"] {
79
81
--contrast-color-rgb: 255, 255, 255;
80
82
--highlight-color-rgb: 75, 75, 75;
83
--border-color-rgb: 58, 57, 60;
84
+ --mark-color-rgb: 255, 240, 0, 0.2;
85
86
--main-text-color-rgb: 178, 178, 178;
87
--light-text-color-rgb: 118, 120, 120;
@@ -99,6 +102,7 @@ html[data-theme="light"] {
99
102
--contrast-color-rgb: var(--bold-color-rgb);
100
103
--highlight-color-rgb: 190, 190, 190;
101
104
--border-color-rgb: 190, 190, 190;
105
+ --mark-color-rgb: 255, 240, 0, 0.7;
106
107
--main-text-color-rgb: 10, 10, 10;
108
--light-text-color-rgb: 51, 51, 51;
assets/scss/main.scss
@@ -98,7 +98,7 @@ html[data-theme="dark"] {
98
font-size: 12px;
transition: color 0.2s;
- text-decoration: none;
+ text-decoration: none !important;
background-image: none;
// &,
content/content.11tydata.js
@@ -1,7 +1,7 @@
-const { getGitCommitDate } = require('../eleventy/detail/git-commit-date');
-const { stripBetweenTags } = require('../eleventy/detail/helpers');
+import { getGitCommitDate } from '../eleventy/detail/git-commit-date.js';
+import { stripBetweenTags } from '../eleventy/detail/helpers.js';
3
4
-module.exports = {
+export default {
5
// Defaults.
6
excerpt: '',
7
tags: [],
content/js/js.11tydata.js
@@ -1,4 +1,4 @@
eleventyExcludeFromCollections: true,
noindex: true,
sitemap: {
content/meta/meta.11tydata.js
content/meta/sitemap.njk
@@ -1,6 +1,7 @@
---
-permalink: /sitemap.xml
+# permalink: /sitemap.xml
+permalink: false
layout: null
-{% sitemap collections.all %}
+{# {% sitemap collections.all %} #}
0 commit comments