Skip to content

Commit

Permalink
fix dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sytranvn committed May 23, 2023
1 parent ac279de commit af6c76e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "themes/hugo-coder"]
path = themes/hugo-coder
url = https://github.com/luizdepra/hugo-coder
[submodule "themes/hugo-pdf"]
path = themes/hugo-pdf
url = https://github.com/sytranvn/hugo-pdf
branch = master
[submodule "themes/hugo-coder"]
path = themes/hugo-coder
url = https://github.com/luizdepra/hugo-coder.git
3 changes: 3 additions & 0 deletions assets/hugo-pdf.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
div.highlight > pre > code {
background-color: unset;
}
14 changes: 11 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
languageCode = "en-us"
baseurl = "https://sytranvn.dev/"
baseurl = "https://sytranvn.dev/hugo-pdf"
title = "Hugo PDF"
theme = ["hugo-coder", "hugo-pdf"]


[markup.highlight]
style = "github-dark"


[params]
author = "Sy Tran Dung"
description = "Hugo PDF"
colorScheme = "dark"
hideColorSchemeToggle = true
# Series see also post count
maxSeeAlsoItems = 5
# Custom CSS
customCSS = []
customCSS = ["hugo-pdf.css"]
# Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
customSCSS = []

Expand All @@ -22,3 +24,9 @@ customJS = []

# Custom remote JS files
customRemoteJS = []

[taxonomies]
category = "categories"
series = "series"
tag = "tags"
author = "authors"
3 changes: 1 addition & 2 deletions content/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
weight: 5
anchor: Hugo PDF
title: "Hugo PDF"
git_repo: https://github.com/sytranvn/hugo-pdf
summary: "This shortcode allows you to add PDF file to your pages using browser native PDF renderer. Therefore, no additional Javascripts needed."
type: single
type: home
---

This shortcode allows you to add PDF file to your pages using browser native
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-coder
Submodule hugo-coder updated 69 files
+0 −30 .github/ISSUE_TEMPLATE/bug_report.md
+0 −11 .github/ISSUE_TEMPLATE/feature_request.md
+0 −11 .github/ISSUE_TEMPLATE/question.md
+0 −13 CONTRIBUTORS.md
+0 −14 assets/js/coder.js
+9 −24 assets/scss/_base.scss
+16 −6 assets/scss/_base_dark.scss
+16 −24 assets/scss/_content.scss
+0 −1 assets/scss/_variables.scss
+1 −19 docs/analytics.md
+0 −6 docs/analytics/applicationinsights.md
+0 −25 docs/analytics/baidu.md
+0 −6 docs/analytics/cloudflare.md
+0 −7 docs/analytics/fathom.md
+0 −6 docs/analytics/goatcounter.md
+0 −3 docs/analytics/googleanalytics.md
+0 −6 docs/analytics/googletagmanager.md
+0 −7 docs/analytics/matomo.md
+0 −7 docs/analytics/microanalytics.md
+0 −6 docs/analytics/pirsch.md
+0 −7 docs/analytics/plausible.md
+0 −7 docs/analytics/umami.md
+0 −25 docs/analytics/wideangle.md
+89 −51 docs/configurations.md
+2 −2 docs/quick-start.md
+3 −26 exampleSite/config.toml
+0 −5 exampleSite/content/authors/hugo-authors/_index.md
+0 −6 exampleSite/content/authors/hugo-authors/_index.pt-br.md
+0 −6 exampleSite/content/categories/syntax/_index.pt-br.md
+0 −6 exampleSite/content/categories/themes/_index.pt-br.md
+3 −14 exampleSite/content/posts/markdown-syntax.md
+5 −12 exampleSite/content/posts/markdown-syntax.pt-br.md
+2 −2 exampleSite/content/posts/rich-content.md
+2 −2 exampleSite/content/posts/rich-content.pt-br.md
+0 −5 exampleSite/content/tags/shortcodes/_index.pt-br.md
+18 −0 exampleSite/resources/_gen/assets/scss/scss/coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.content
+18 −24 exampleSite/resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content
+7 −7 i18n/ja.toml
+14 −15 i18n/tr.toml
+0 −1 layouts/_default/_markup/render-link.html
+6 −43 layouts/_default/baseof.html
+0 −11 layouts/partials/analytics/baidu.html
+0 −8 layouts/partials/analytics/microanalyticsio.html
+0 −3 layouts/partials/analytics/pirsch.html
+1 −1 layouts/partials/analytics/plausible.html
+0 −4 layouts/partials/analytics/umami.html
+0 −5 layouts/partials/analytics/wideangle.html
+0 −14 layouts/partials/analytics/yandex-metrika.html
+2 −2 layouts/partials/footer.html
+1 −1 layouts/partials/head.html
+1 −1 layouts/partials/head/meta-tags.html
+1 −1 layouts/partials/header.html
+9 −11 layouts/partials/list.html
+1 −24 layouts/partials/posts/disqus.html
+0 −33 layouts/partials/posts/giscus.html
+6 −6 layouts/partials/posts/math.html
+1 −1 layouts/partials/taxonomy/authors.html
+1 −1 layouts/partials/taxonomy/categories.html
+1 −1 layouts/partials/taxonomy/tags.html
+9 −11 layouts/partials/terms.html
+5 −7 layouts/posts/list.html
+4 −5 layouts/posts/single.html
+1 −1 netlify.toml
+1 −1 resources/_gen/assets/scss/scss/coder-dark.scss_1fcd9040f1144c65015c77e7b93bc5ac.content
+1 −1 resources/_gen/assets/scss/scss/coder-dark.scss_1fcd9040f1144c65015c77e7b93bc5ac.json
+18 −0 resources/_gen/assets/scss/scss/coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.content
+1 −1 resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content
+1 −1 resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.json
+18 −24 resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content

0 comments on commit af6c76e

Please sign in to comment.