summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--assets/scss/main.scss58
-rw-r--r--layouts/partials/page-meta-links.html11
-rw-r--r--themes/docsy/assets/scss/_styles_project.scss7
-rw-r--r--themes/docsy/assets/scss/_variables_project.scss4
-rw-r--r--themes/docsy/assets/scss/main.scss4
-rw-r--r--themes/docsy/layouts/partials/page-meta-links.html5
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-144x144.pngbin3787 -> 4299 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-192x192.pngbin5841 -> 5264 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-36x36.pngbin854 -> 980 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-48x48.pngbin1254 -> 1071 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-72x72.pngbin1713 -> 1926 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/android-96x196.pngbin2611 -> 2309 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/apple-touch-icon-180x180.pngbin5296 -> 4748 bytes
-rw-r--r--themes/docsy/static/favicons/favicon-1024.pngbin48098 -> 27759 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/favicon-16x16.pngbin367 -> 498 bytes
-rw-r--r--themes/docsy/static/favicons/favicon-256.pngbin6884 -> 8037 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/favicon-32x32.pngbin719 -> 807 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/favicon.icobin1150 -> 1150 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/pwa-192x192.pngbin5841 -> 5264 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/pwa-512x512.pngbin18491 -> 20743 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/tile150x150.pngbin7789 -> 8985 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/tile310x150.pngbin11422 -> 11661 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/tile310x310.pngbin20871 -> 23621 bytes
-rwxr-xr-x[-rw-r--r--]themes/docsy/static/favicons/tile70x70.pngbin3179 -> 3592 bytes
24 files changed, 16 insertions, 73 deletions
diff --git a/assets/scss/main.scss b/assets/scss/main.scss
deleted file mode 100644
index 66c036c7b..000000000
--- a/assets/scss/main.scss
+++ /dev/null
@@ -1,58 +0,0 @@
-@import "support/functions";
-@import "variables_project";
-@import "variables";
-@import "support/mixins";
-
-@import "../vendor/bootstrap/scss/bootstrap";
-
-@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fontawesome.scss";
-@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fa-solid.scss";
-@import "../vendor/Font-Awesome//web-fonts-with-css/scss/fa-brands.scss";
-
-@import "support/utilities";
-@import "colors";
-@import "boxes";
-@import "blog";
-@import "code";
-@import "nav";
-@import "sidebar-tree";
-@import "sidebar-toc";
-@import "buttons";
-@import "breadcrumb";
-@import "alerts";
-@import "content";
-@import "search";
-@import "main-container";
-@import "blocks/blocks";
-
-@if $td-enable-google-fonts {
- @import url($web-font-path);
-}
-
-footer {
- min-height: 150px;
-
- @include media-breakpoint-down(md) {
- min-height: 200px;
- }
-}
-
-// Adjust anchors vs the fixed menu.
-@include media-breakpoint-up(md) {
- .td-offset-anchor:target {
- display: block;
- position: relative;
- top: -4rem;
- visibility: hidden;
- }
-
- h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before {
- display: block;
- content: " ";
- margin-top: -5rem;
- height: 5rem;
- visibility: hidden;
- }
-}
-
-@import "styles_project";
diff --git a/layouts/partials/page-meta-links.html b/layouts/partials/page-meta-links.html
deleted file mode 100644
index 5d590ee41..000000000
--- a/layouts/partials/page-meta-links.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ if .Path }}
-{{ $gh_repo := ($.Param "github_repo") }}
-{{ if $gh_repo }}
-<div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
-{{ $editURL := printf "%s/edit/master/content/%s" $gh_repo .Path }}
-{{ $issuesURL := printf "%s/issues/new?title=%s" $gh_repo (htmlEscape $.Title )}}
-<a href="{{ $editURL }}" target="_blank" rel="noopener"><i class="fa fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
-<a href="{{ $issuesURL }}" target="_blank" rel="noopener"><i class="fab fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
-</div>
-{{ end }}
-{{ end }}
diff --git a/themes/docsy/assets/scss/_styles_project.scss b/themes/docsy/assets/scss/_styles_project.scss
new file mode 100644
index 000000000..ab68a8844
--- /dev/null
+++ b/themes/docsy/assets/scss/_styles_project.scss
@@ -0,0 +1,7 @@
+/*
+
+Nothing defined here. The Hugo project that uses this theme can override Bootstrap by adding a file to:
+
+assets/scss/_styles_project.scss
+
+*/
diff --git a/themes/docsy/assets/scss/_variables_project.scss b/themes/docsy/assets/scss/_variables_project.scss
index 69ee04629..387082dca 100644
--- a/themes/docsy/assets/scss/_variables_project.scss
+++ b/themes/docsy/assets/scss/_variables_project.scss
@@ -1,7 +1,7 @@
/*
-Nothing defined here. The Hugo project that uses this theme can override Bootstrap and theme variables by adding a file to:
+Nothing defined here. The Hugo project that uses this theme can override theme variables by adding a file to:
assets/scss/_variables_project.scss
-*/ \ No newline at end of file
+*/
diff --git a/themes/docsy/assets/scss/main.scss b/themes/docsy/assets/scss/main.scss
index 909935b4d..66c036c7b 100644
--- a/themes/docsy/assets/scss/main.scss
+++ b/themes/docsy/assets/scss/main.scss
@@ -53,4 +53,6 @@ footer {
height: 5rem;
visibility: hidden;
}
-} \ No newline at end of file
+}
+
+@import "styles_project";
diff --git a/themes/docsy/layouts/partials/page-meta-links.html b/themes/docsy/layouts/partials/page-meta-links.html
index b8e0925b5..0f18b1e37 100644
--- a/themes/docsy/layouts/partials/page-meta-links.html
+++ b/themes/docsy/layouts/partials/page-meta-links.html
@@ -2,7 +2,10 @@
{{ $gh_repo := ($.Param "github_repo") }}
{{ if $gh_repo }}
<div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
-{{ $editURL := printf "%s/edit/master/content/%s/%s" $gh_repo ($.Site.Language.Lang) .Path }}
+{{ $editURL := printf "%s/edit/master/content/%s" $gh_repo .Path }}
+{{ if .Site.IsMultiLingual }}
+{{ $editURL = printf "%s/edit/master/content/%s/%s" $gh_repo ($.Site.Language.Lang) .Path }}
+{{ end }}
{{ $issuesURL := printf "%s/issues/new?title=%s" $gh_repo (htmlEscape $.Title )}}
<a href="{{ $editURL }}" target="_blank"><i class="fa fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
<a href="{{ $issuesURL }}" target="_blank"><i class="fab fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
diff --git a/themes/docsy/static/favicons/android-144x144.png b/themes/docsy/static/favicons/android-144x144.png
index b65a18405..8851c09a4 100644..100755
--- a/themes/docsy/static/favicons/android-144x144.png
+++ b/themes/docsy/static/favicons/android-144x144.png
Binary files differ
diff --git a/themes/docsy/static/favicons/android-192x192.png b/themes/docsy/static/favicons/android-192x192.png
index 6cbdc25ec..94b2ad2db 100644..100755
--- a/themes/docsy/static/favicons/android-192x192.png
+++ b/themes/docsy/static/favicons/android-192x192.png
Binary files differ
diff --git a/themes/docsy/static/favicons/android-36x36.png b/themes/docsy/static/favicons/android-36x36.png
index 3321febae..7ec5cf650 100644..100755
--- a/themes/docsy/static/favicons/android-36x36.png
+++ b/themes/docsy/static/favicons/android-36x36.png
Binary files differ
diff --git a/themes/docsy/static/favicons/android-48x48.png b/themes/docsy/static/favicons/android-48x48.png
index 0e93c9e56..419a445ad 100644..100755
--- a/themes/docsy/static/favicons/android-48x48.png
+++ b/themes/docsy/static/favicons/android-48x48.png
Binary files differ
diff --git a/themes/docsy/static/favicons/android-72x72.png b/themes/docsy/static/favicons/android-72x72.png
index fdc0453d3..230b18fd5 100644..100755
--- a/themes/docsy/static/favicons/android-72x72.png
+++ b/themes/docsy/static/favicons/android-72x72.png
Binary files differ
diff --git a/themes/docsy/static/favicons/android-96x196.png b/themes/docsy/static/favicons/android-96x196.png
index 997d5e35a..8cc698973 100644..100755
--- a/themes/docsy/static/favicons/android-96x196.png
+++ b/themes/docsy/static/favicons/android-96x196.png
Binary files differ
diff --git a/themes/docsy/static/favicons/apple-touch-icon-180x180.png b/themes/docsy/static/favicons/apple-touch-icon-180x180.png
index 0d2d95cbf..03d0b5134 100644..100755
--- a/themes/docsy/static/favicons/apple-touch-icon-180x180.png
+++ b/themes/docsy/static/favicons/apple-touch-icon-180x180.png
Binary files differ
diff --git a/themes/docsy/static/favicons/favicon-1024.png b/themes/docsy/static/favicons/favicon-1024.png
index c65839bbe..920f10720 100644
--- a/themes/docsy/static/favicons/favicon-1024.png
+++ b/themes/docsy/static/favicons/favicon-1024.png
Binary files differ
diff --git a/themes/docsy/static/favicons/favicon-16x16.png b/themes/docsy/static/favicons/favicon-16x16.png
index dfbcd7a07..ce918ee3a 100644..100755
--- a/themes/docsy/static/favicons/favicon-16x16.png
+++ b/themes/docsy/static/favicons/favicon-16x16.png
Binary files differ
diff --git a/themes/docsy/static/favicons/favicon-256.png b/themes/docsy/static/favicons/favicon-256.png
index 944522e18..ebd3f8c98 100644
--- a/themes/docsy/static/favicons/favicon-256.png
+++ b/themes/docsy/static/favicons/favicon-256.png
Binary files differ
diff --git a/themes/docsy/static/favicons/favicon-32x32.png b/themes/docsy/static/favicons/favicon-32x32.png
index 58b2ce3f3..e95c80ad6 100644..100755
--- a/themes/docsy/static/favicons/favicon-32x32.png
+++ b/themes/docsy/static/favicons/favicon-32x32.png
Binary files differ
diff --git a/themes/docsy/static/favicons/favicon.ico b/themes/docsy/static/favicons/favicon.ico
index 1275d6996..216330ff2 100644..100755
--- a/themes/docsy/static/favicons/favicon.ico
+++ b/themes/docsy/static/favicons/favicon.ico
Binary files differ
diff --git a/themes/docsy/static/favicons/pwa-192x192.png b/themes/docsy/static/favicons/pwa-192x192.png
index 6cbdc25ec..94b2ad2db 100644..100755
--- a/themes/docsy/static/favicons/pwa-192x192.png
+++ b/themes/docsy/static/favicons/pwa-192x192.png
Binary files differ
diff --git a/themes/docsy/static/favicons/pwa-512x512.png b/themes/docsy/static/favicons/pwa-512x512.png
index 384c8b603..89258a4e6 100644..100755
--- a/themes/docsy/static/favicons/pwa-512x512.png
+++ b/themes/docsy/static/favicons/pwa-512x512.png
Binary files differ
diff --git a/themes/docsy/static/favicons/tile150x150.png b/themes/docsy/static/favicons/tile150x150.png
index 53ff09748..3d0c7604e 100644..100755
--- a/themes/docsy/static/favicons/tile150x150.png
+++ b/themes/docsy/static/favicons/tile150x150.png
Binary files differ
diff --git a/themes/docsy/static/favicons/tile310x150.png b/themes/docsy/static/favicons/tile310x150.png
index 104925c6d..ed8904286 100644..100755
--- a/themes/docsy/static/favicons/tile310x150.png
+++ b/themes/docsy/static/favicons/tile310x150.png
Binary files differ
diff --git a/themes/docsy/static/favicons/tile310x310.png b/themes/docsy/static/favicons/tile310x310.png
index 267f13ec8..67172b306 100644..100755
--- a/themes/docsy/static/favicons/tile310x310.png
+++ b/themes/docsy/static/favicons/tile310x310.png
Binary files differ
diff --git a/themes/docsy/static/favicons/tile70x70.png b/themes/docsy/static/favicons/tile70x70.png
index 1894ab4d6..31413a2be 100644..100755
--- a/themes/docsy/static/favicons/tile70x70.png
+++ b/themes/docsy/static/favicons/tile70x70.png
Binary files differ