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

github.com/forestryio/hugo-theme-novela.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Taillandier <frank@forestry.io>2020-02-06 19:33:21 +0300
committerGitHub <noreply@github.com>2020-02-06 19:33:21 +0300
commit93b4dc54f57fd593452f0549840dbf2c2ac8d05d (patch)
tree4c252eb07996d5e5aa5a97bd3540d720669e5667
parentc6e5591d8907742536fda325369ee716cf1ccd40 (diff)
parent4524ea8d84fa6527003e7ea8a0d033217de13b62 (diff)
Merge pull request #17 from nicfits/progress-bar-fixes
fix: progress bar blocking content links
-rw-r--r--layouts/partials/article/progress.html4
-rw-r--r--layouts/post/single.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/article/progress.html b/layouts/partials/article/progress.html
index fcaf894..3925b76 100644
--- a/layouts/partials/article/progress.html
+++ b/layouts/partials/article/progress.html
@@ -5,10 +5,10 @@
</div>
</div>
</div>
-
+
<div class="progress-container" tabIndex={-1}>
<div class="track-line" aria-hidden="true">
<div id="progressIndicator" class="progress-line"></div>
</div>
</div>
-</aside> \ No newline at end of file
+</aside>
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 69f1f21..dc6b3a8 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -6,14 +6,14 @@
{{ partial "article/progress" . }}
- <article id="articleContent" class="post-content">
+ <article id="articleContent" class="post-content" style="position:relative;">
{{ .Content }}
</article>
-
+
{{ partial "article/next.html" . }}
</section>
{{ $script := resources.Get "js/progressBar.js" }}
<script src="{{ $script.RelPermalink }}"></script>
-{{ end }} \ No newline at end of file
+{{ end }}