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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-09-23 05:36:59 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-09-23 05:36:59 +0300
commitb59d7692d1faf2b23967912c5e6a94b580498a17 (patch)
treeac0e15b844f4e91638827fec603414850312ec0c /layouts
parentace0e2f46cae76b56aec902f3246259a1cc81ecf (diff)
refactor: purge code
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html1
-rw-r--r--layouts/_default/section.html1
-rw-r--r--layouts/_default/single.html1
-rw-r--r--layouts/authors/list.html1
-rw-r--r--layouts/index.html1
-rw-r--r--layouts/partials/featured_image.html2
-rw-r--r--layouts/partials/header.html1
-rw-r--r--layouts/partials/horizontal_summary.html3
-rw-r--r--layouts/partials/widgets/about.html1
9 files changed, 3 insertions, 9 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 9a3abfa..40df9bf 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -9,7 +9,6 @@
</article>
<div class="bg-secondary-bg rounded overflow-hidden px-4 divide-y">
{{ range .Paginator.Pages }}
-
<div class="px-2 py-6">
{{ partial "horizontal_summary.html" . }}
</div>
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 9a3abfa..40df9bf 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -9,7 +9,6 @@
</article>
<div class="bg-secondary-bg rounded overflow-hidden px-4 divide-y">
{{ range .Paginator.Pages }}
-
<div class="px-2 py-6">
{{ partial "horizontal_summary.html" . }}
</div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2861cc5..b4d1f73 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -42,6 +42,5 @@
</div>
{{ end }}
</div>
-<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.0.0/build/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{ end }} \ No newline at end of file
diff --git a/layouts/authors/list.html b/layouts/authors/list.html
index 06494a3..e0a08ce 100644
--- a/layouts/authors/list.html
+++ b/layouts/authors/list.html
@@ -2,7 +2,6 @@
<div class="bg-secondary-bg rounded primary-text">
{{ partial "widgets/about.html" . }}
{{ partial "widgets/details.html" . }}
-
</div>
{{ $pages := .Pages }}
{{ partial "masonry.html" $pages }}
diff --git a/layouts/index.html b/layouts/index.html
index 6e2c477..68b9e22 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -16,7 +16,6 @@
style="background-image: url({{ .Site.Params.hero.imgRight | absURL }});"></div>
</div>
</div>
-
</div>
</div>
<div class="container mx-auto ">
diff --git a/layouts/partials/featured_image.html b/layouts/partials/featured_image.html
index 36cdd6f..d7237f7 100644
--- a/layouts/partials/featured_image.html
+++ b/layouts/partials/featured_image.html
@@ -3,4 +3,4 @@
<img src="{{ $img.RelPermalink }}" class="w-full" alt="Featured Image">
{{ else if .Params.featuredImage }}
<img src="{{- .Params.featuredImage | relURL -}}" class="w-full" alt="Featured Image">
-{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 0dc4ee9..bcf03c1 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -56,7 +56,6 @@
</div>
{{ end }}
</div>
-
</div>
<div class="fixed hidden inset-0 opacity-0 h-full w-full cursor-default z-0" id="is-open-mobile">
diff --git a/layouts/partials/horizontal_summary.html b/layouts/partials/horizontal_summary.html
index 091b335..9b9c975 100644
--- a/layouts/partials/horizontal_summary.html
+++ b/layouts/partials/horizontal_summary.html
@@ -9,7 +9,8 @@
</div>
{{ partial "post_metadata.html" . }}
</div>
- <div class="lg:max-w-xs w-full mb-4 lg:mb-0 lg:ml-8">
+
+ <div class="lg:max-w-xs mb-4 lg:mb-0 lg:ml-8">
{{ partial "featured_image.html" . }}
</div>
</div> \ No newline at end of file
diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html
index 75b5813..8a049b4 100644
--- a/layouts/partials/widgets/about.html
+++ b/layouts/partials/widgets/about.html
@@ -1,6 +1,5 @@
<div class="grid grid-cols-12 flex content-center justify-center py-12 px-10 md:px-32">
{{ with .Resources.ByType "image" }}
-
<div
class="col-span-12 lg:col-span-4 flex content-center justify-center lg:justify-start lg:border-r border-gray-300 mr-0 lg:mr-5">
{{ range . }}