Skip to content

Commit 10b62e5

Browse files
committed
Feat: Update tables
Chore: Update node packages
1 parent c5587cd commit 10b62e5

File tree

4 files changed

+3821
-16811
lines changed

4 files changed

+3821
-16811
lines changed

gatsby-browser.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import "@popperjs/core/dist/umd/popper.min"
44
import "bootstrap/dist/css/bootstrap.min.css"
55
import "bootstrap/dist/js/bootstrap.min"
66
import "./src/styles/global.css"
7-
import "@fontsource/public-sans";
8-
import 'typeface-sorts-mill-goudy/index.css';
9-
import '/static/dark-mode.css';
10-
import 'dark-mode-switch/dark-mode-switch.min.js';
7+
// import "@fontsource/public-sans";
8+
// import '/static/dark-mode.css';
9+
// import 'dark-mode-switch/dark-mode-switch.min.js';

gatsby-config.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ module.exports = {
4040
loading: `lazy`,
4141
},
4242
},
43+
{
44+
resolve: `gatsby-remark-classes`,
45+
options: {
46+
classMap: {
47+
"table": "table"
48+
}
49+
}
50+
},
4351
{
4452
resolve: `gatsby-remark-images-remote`,
4553
options: {
@@ -208,9 +216,7 @@ module.exports = {
208216
},
209217
query: `
210218
{
211-
allMarkdownRemark(
212-
sort: { order: DESC, fields: [frontmatter___date] },
213-
) {
219+
allMarkdownRemark(sort: {frontmatter: {date: DESC}}) {
214220
nodes {
215221
excerpt
216222
html

0 commit comments

Comments
 (0)