Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/sada.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2021-05-03 03:20:13 +0300
committerDarshan Baral <darshanbaral@gmail.com>2021-05-03 03:20:13 +0300
commit4aa4996f4ffa27c8e495a3838d0a074dfaff7d44 (patch)
tree47dc533b1f26f1360126f61744f2fa46ae142084 /layouts
parent2c2b10872a37e0a1aa2b5b7aeced3df51e656261 (diff)
looks like purge worked
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/linkCSS.html2
-rw-r--r--layouts/partials/profilePhoto.html12
2 files changed, 8 insertions, 6 deletions
diff --git a/layouts/partials/linkCSS.html b/layouts/partials/linkCSS.html
index d791e58..0dc7662 100644
--- a/layouts/partials/linkCSS.html
+++ b/layouts/partials/linkCSS.html
@@ -5,7 +5,7 @@
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
{{ else }}
<!-- minify for prod -->
- {{ $styles := $styles | minify | fingerprint | resources.PostProcess }}
+ {{ $styles := $styles | fingerprint | resources.PostCSS (dict "inlineImports" true) }}
<link
rel="stylesheet"
href="{{ $styles.RelPermalink }}"
diff --git a/layouts/partials/profilePhoto.html b/layouts/partials/profilePhoto.html
index 020669a..4fb4e21 100644
--- a/layouts/partials/profilePhoto.html
+++ b/layouts/partials/profilePhoto.html
@@ -1,7 +1,9 @@
<div class="flex justify-center w-full">
- <img
- class="my-0 rounded-full w-4/5 h-auto max-w-none"
- src="{{ .Site.Params.profile.photo | relURL }}"
- alt="{{ .Site.Params.author }}"
- />
+ <div class="w-4/5">
+ <img
+ class="my-0 rounded-full"
+ src="{{ .Site.Params.profile.photo | relURL }}"
+ alt="{{ .Site.Params.author }}"
+ />
+ </div>
</div>