From c83856a84179d4d3ca95b23d2790acffa224fc9a Mon Sep 17 00:00:00 2001 From: Zerodemy Inc <100373840+aishikrehman@users.noreply.github.com> Date: Mon, 25 Mar 2024 03:13:41 +0600 Subject: [PATCH] Update --- config.yaml | 11 +- layouts/_default/baseof.html | 7 - layouts/page/search.html | 208 ++-- layouts/tags/term.html | 6 +- static/css/bootstrap5.3.mod.css | 7 +- static/css/search.css | 2063 +++++++++++++++++++++++++++++++ static/css/style.css | 202 --- 7 files changed, 2183 insertions(+), 321 deletions(-) create mode 100644 static/css/search.css diff --git a/config.yaml b/config.yaml index dd8a252..7029e65 100644 --- a/config.yaml +++ b/config.yaml @@ -3,7 +3,7 @@ baseURL: "https://aishikrehman.com/" DefaultContentLanguage: "bn" defaultContentLanguageInSubdir: "false" enableMissingTranslationPlaceholders: "false" -timeZone: Asia/Dhaka +timeZone: "Asia/Dhaka" # enableGitInfo: true # googleAnalytics: "G-3NFDT41J8E" paginate: 10 @@ -60,12 +60,13 @@ languages: - name: Tags url: /tags/ Params: - defaultColorMode: "light" + defaultColorMode: "light" #Change this require some changes to colormode.js script, Otherwise it won't work activateColorModeToogler: true #To activate color mode dark/light/auto - useBootstrapMod: true #Mod of 5.3.3 + useBootstrapMod: true #Mod of Bootsrap 5.3.3, If you don't want to use the mod, set the BootstrapCDNVersion useBootstrapIcons: true # To use Botstrap Icons. Recommended is "true" - BootstrapCDNVersion: "5.3.3" #Doesnt work if useBootstrapMod is "true" - defaultLang: bn + BootstrapCDNVersion: "5.3.3" #Doesnt work if useBootstrapMod is "true", To apply this, set useBootstrapMod to false + defaultLang: bn #Set it the value of same as DefaultContentLanguage, use to chekck + activatejQuery: true # tagTranslations: # animal-rights: প্রাণী অধিকার # environment: পরিবেশ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7ccc62b..ce68a41 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,12 +4,10 @@ {{ partial "metadata.html" . }} - {{- with .OutputFormats.Get "rss" -}} {{ printf ` ` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} {{ end -}} - {{ if .Site.Params.useBootstrapMod -}} {{ else }} @@ -17,23 +15,18 @@ {{ end -}} {{ end -}} - {{ if .Site.Params.useBootstrapIcons -}} {{ end -}} - {{ block "style" . }}{{ end -}} - {{ if .Site.Params.activatejQuery }} {{ end -}} - {{ if .Site.Params.activateColorModeToogler -}} {{ end }} - {{ block "script" . }}{{ end }} {{/* {{- template "_internal/google_analytics.html" . }} */}} diff --git a/layouts/page/search.html b/layouts/page/search.html index 8a57a14..8bbb434 100644 --- a/layouts/page/search.html +++ b/layouts/page/search.html @@ -1,124 +1,130 @@ -{{ define "style" }} - -{{ end }} - {{ define "script" }} - + {{ end }} {{ define "main" }} -