Skip to content

Commit e90db3e

Browse files
committed
Merge branch 'preview'
2 parents 894db17 + a7bda0a commit e90db3e

File tree

73 files changed

+2924
-2180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2924
-2180
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
COMMA_PARENTHESIS_WHITESPACE
2+
PASSIVE_VOICE

archive/template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ redirect_from: [/link-to-post, /link-to-other-post] # Endpoints to redirect from
3434
sitemap:
3535
ignore: true # don't put in sitemap
3636
# more options: https://www.npmjs.com/package/@quasibit/eleventy-plugin-sitemap
37+
showToc: true # Set false to hide toc
3738
tocOptions: '{"tags":["h2","h3","h4"]}' # https://github.com/jdsteinbach/eleventy-plugin-toc?tab=readme-ov-file#options
3839
preamble: Short text which isn't included in the body proper and won't be included in embeds.
3940
eleventyExcludeFromCollections: true

assets/scss/_common.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ h6 {
135135
font-family: var(--default-font); // Default.
136136
}
137137

138+
mark {
139+
padding: .13em 0;
140+
--bs-highlight-bg: var(--mark-color);
141+
// border: 1px red solid;
142+
color: inherit;
143+
}
144+
138145
pre,
139146
.alert {
140147
border-radius: $border-radius !important;

assets/scss/_variables.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ $transition-duration-slow: 0.5s;
6060
--highlight-color: rgb(var(--highlight-color-rgb));
6161
--border-color: rgb(var(--border-color-rgb));
6262

63+
--mark-color: rgba(var(--mark-color-rgb));
64+
6365
--main-text-color: rgb(var(--main-text-color-rgb));
6466
--light-text-color: rgb(var(--light-text-color-rgb));
6567
}
@@ -79,6 +81,7 @@ html[data-theme="dark"] {
7981
--contrast-color-rgb: 255, 255, 255;
8082
--highlight-color-rgb: 75, 75, 75;
8183
--border-color-rgb: 58, 57, 60;
84+
--mark-color-rgb: 255, 240, 0, 0.2;
8285

8386
--main-text-color-rgb: 178, 178, 178;
8487
--light-text-color-rgb: 118, 120, 120;
@@ -99,6 +102,7 @@ html[data-theme="light"] {
99102
--contrast-color-rgb: var(--bold-color-rgb);
100103
--highlight-color-rgb: 190, 190, 190;
101104
--border-color-rgb: 190, 190, 190;
105+
--mark-color-rgb: 255, 240, 0, 0.7;
102106

103107
--main-text-color-rgb: 10, 10, 10;
104108
--light-text-color-rgb: 51, 51, 51;

assets/scss/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ html[data-theme="dark"] {
9898
font-size: 12px;
9999

100100
transition: color 0.2s;
101-
text-decoration: none;
101+
text-decoration: none !important;
102102
background-image: none;
103103

104104
// &,

content/content.11tydata.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const { getGitCommitDate } = require('../eleventy/detail/git-commit-date');
2-
const { stripBetweenTags } = require('../eleventy/detail/helpers');
1+
import { getGitCommitDate } from '../eleventy/detail/git-commit-date.js';
2+
import { stripBetweenTags } from '../eleventy/detail/helpers.js';
33

4-
module.exports = {
4+
export default {
55
// Defaults.
66
excerpt: '',
77
tags: [],

content/js/js.11tydata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
eleventyExcludeFromCollections: true,
33
noindex: true,
44
sitemap: {

content/meta/meta.11tydata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
eleventyExcludeFromCollections: true,
33
noindex: true,
44
sitemap: {

content/meta/sitemap.njk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
permalink: /sitemap.xml
2+
# permalink: /sitemap.xml
3+
permalink: false
34
layout: null
45
eleventyExcludeFromCollections: true
56
---
6-
{% sitemap collections.all %}
7+
{# {% sitemap collections.all %} #}

0 commit comments

Comments
 (0)