aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-05 22:03:48 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-05 22:03:48 +0200
commit140e6a56d01bb7dfe31e4d59746515960e79cfab (patch)
treed2e4229d1d1dc05b93458af82e1049d1ed402922
parentHeading font weight (diff)
downloadblog-140e6a56d01bb7dfe31e4d59746515960e79cfab.tar.gz
blog-140e6a56d01bb7dfe31e4d59746515960e79cfab.tar.zst
blog-140e6a56d01bb7dfe31e4d59746515960e79cfab.zip
Add view source link
-rw-r--r--docusaurus.config.ts2
-rw-r--r--i18n/en/code.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 602053d..95f4549 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -25,6 +25,7 @@ export default {
25 title: 'Kristóf Marussy', 25 title: 'Kristóf Marussy',
26 url: 'https://marussy.com', 26 url: 'https://marussy.com',
27 baseUrl: '/', 27 baseUrl: '/',
28 baseUrlIssueBanner: false,
28 staticDirectories: ['third-party/static', 'static'], 29 staticDirectories: ['third-party/static', 'static'],
29 plugins: [ 30 plugins: [
30 [ 31 [
@@ -32,6 +33,7 @@ export default {
32 { 33 {
33 routeBasePath: '/', 34 routeBasePath: '/',
34 archiveBasePath: 'blog', 35 archiveBasePath: 'blog',
36 editUrl: 'https://git.marussy.com/blog/tree',
35 ...markdownOptions, 37 ...markdownOptions,
36 feedOptions: { 38 feedOptions: {
37 type: 'all', 39 type: 'all',
diff --git a/i18n/en/code.json b/i18n/en/code.json
index 3bd3ef2..6e915b6 100644
--- a/i18n/en/code.json
+++ b/i18n/en/code.json
@@ -127,7 +127,7 @@
127 "description": "The label used for the latest version suggestion link label" 127 "description": "The label used for the latest version suggestion link label"
128 }, 128 },
129 "theme.common.editThisPage": { 129 "theme.common.editThisPage": {
130 "message": "Edit this page", 130 "message": "View page source",
131 "description": "The link label to edit the current page" 131 "description": "The link label to edit the current page"
132 }, 132 },
133 "theme.lastUpdated.atDate": { 133 "theme.lastUpdated.atDate": {