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

github.com/djuelg/Shapez-Theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Juelg <djuelg@gmx.de>2016-04-28 22:49:39 +0300
committerDominik Juelg <djuelg@gmx.de>2016-04-28 22:49:39 +0300
commit2586da1562d70107822d0611a0a4f4edf50aa407 (patch)
tree361e47aba1ad0d584567062ddcb569441f50eaef
parent98abb78b310f4393ca673c7d3b88dd44600291f5 (diff)
fixed void links
-rw-r--r--themes/dj_blog/layouts/_default/list.html8
-rw-r--r--themes/dj_blog/layouts/_default/single.html8
-rwxr-xr-xthemes/dj_blog/layouts/partials/face.svg4
-rwxr-xr-xthemes/dj_blog/layouts/partials/sidebar.svg4
4 files changed, 12 insertions, 12 deletions
diff --git a/themes/dj_blog/layouts/_default/list.html b/themes/dj_blog/layouts/_default/list.html
index 65771ef..e69d170 100644
--- a/themes/dj_blog/layouts/_default/list.html
+++ b/themes/dj_blog/layouts/_default/list.html
@@ -15,9 +15,9 @@
<a href="{{ .Site.Params.button_2 }}">Playground</a>
<a href="{{ .Site.Params.button_3 }}" rel="me">About</a>
<text>·</text>
- <a href="{{if .PrevInSection }}{{.PrevInSection.Permalink}}{{ end }}"
+ <a href="{{if .PrevInSection }}{{.PrevInSection.Permalink}}{{ else }}javascript:void(0);{{ end }}"
{{if not .PrevInSection }} style="color: gray !important; cursor: not-allowed;" {{ end }}>Prev</a>
- <a href="{{if .NextInSection }}{{.NextInSection.Permalink}}{{ end }}"
+ <a href="{{if .NextInSection }}{{.NextInSection.Permalink}}{{ else }}javascript:void(0);{{ end }}"
{{if not .NextInSection }} style="color: gray !important; cursor: not-allowed;" {{ end }}>Next</a>
</div>
@@ -31,8 +31,8 @@
<h3>{{ .Date.Format "02" }}</h3></br>{{ .Date.Format "January" | upper }}
</div>
<h1>{{ .Title }}</h1>
- <a href="#"><img id="alignJustify" src="/images/justify.svg"></a>
- <a href="#"><img id="alignLeft" src="/images/left.svg"></a>
+ <a href="javascript:void(0);"><img id="alignJustify" src="/images/justify.svg"></a>
+ <a href="javascript:void(0);"><img id="alignLeft" src="/images/left.svg"></a>
</div>
</div>
<div id="article-body">
diff --git a/themes/dj_blog/layouts/_default/single.html b/themes/dj_blog/layouts/_default/single.html
index a654f7b..3f531ff 100644
--- a/themes/dj_blog/layouts/_default/single.html
+++ b/themes/dj_blog/layouts/_default/single.html
@@ -14,9 +14,9 @@
<a href="{{ .Site.Params.button_2 }}">Playground</a>
<a href="{{ .Site.Params.button_3 }}" rel="me">About</a>
<text>·</text>
- <a href="{{if .PrevInSection }}{{.PrevInSection.Permalink}}{{ end }}"
+ <a href="{{if .PrevInSection }}{{.PrevInSection.Permalink}}{{ else }}javascript:void(0);{{ end }}"
{{if not .PrevInSection }} style="color: gray !important; cursor: not-allowed;" {{ end }}>Prev</a>
- <a href="{{if .NextInSection }}{{.NextInSection.Permalink}}{{ end }}"
+ <a href="{{if .NextInSection }}{{.NextInSection.Permalink}}{{ else }}javascript:void(0);{{ end }}"
{{if not .NextInSection }} style="color: gray !important; cursor: not-allowed;" {{ end }}>Next</a>
</div>
@@ -35,8 +35,8 @@
<div class="article-meta-inf">
<a href="/about/" rel="me">by {{ .Site.Author.name }} </a>
<text> &nbsp; · &nbsp; {{ .ReadingTime }} minutes reading time</text>
- <a href="#"><img id="alignJustify" src="/images/justify.svg"></a>
- <a href="#"><img id="alignLeft" src="/images/left.svg"></a>
+ <a href="javascript:void(0);"><img id="alignJustify" src="/images/justify.svg"></a>
+ <a href="javascript:void(0);"><img id="alignLeft" src="/images/left.svg"></a>
</div>
<div id="article-body">
{{ .Content }}
diff --git a/themes/dj_blog/layouts/partials/face.svg b/themes/dj_blog/layouts/partials/face.svg
index 98c04a7..40f8314 100755
--- a/themes/dj_blog/layouts/partials/face.svg
+++ b/themes/dj_blog/layouts/partials/face.svg
@@ -54,7 +54,7 @@
</a>
</g>
- <a xlink:title="Next Page" xlink:href="{{ if .Paginator.HasNext }}{{ .Paginator.Next.URL }}#scroll-down{{ else }}#scroll-down{{ end }}">
+ <a xlink:title="Next Page" xlink:href="{{ if .Paginator.HasNext }}{{ .Paginator.Next.URL }}#scroll-down{{ else }}javascript:void(0);{{ end }}">
<g transform="matrix(0.94832872,0,0,0.94832872,-14.890385,-713.8633)">
<path transform="matrix(-0.10710526,0,0,-0.10710526,523.94437,987.8728)"
d="M 796,1359 C 634,1335 497,1278 420,1201 361,1142 344,1111 319,1013 239,699 413,295 683,166 795,113 891,95 1060,95 c 120,1 159,4 225,23 109,31 208,81 280,141 183,151 318,456 302,682 -16,235 -202,375 -557,418 -99,13 -429,12 -514,0 z"
@@ -79,7 +79,7 @@
</text>
</a>
- <a xlink:title="Previous Page" xlink:href="{{ if .Paginator.HasPrev }}{{ .Paginator.Prev.URL }}#scroll-down{{ else }}#scroll-down{{ end }}">
+ <a xlink:title="Previous Page" xlink:href="{{ if .Paginator.HasPrev }}{{ .Paginator.Prev.URL }}#scroll-down{{ else }}javascript:void(0);{{ end }}">
<g transform="matrix(0.94832872,0,0,0.94832872,-14.890385,-713.8633)">
<path transform="matrix(0.10710526,0,0,-0.10710526,64.290535,984.87746)"
d="M 796,1359 C 634,1335 497,1278 420,1201 361,1142 344,1111 319,1013 239,699 413,295 683,166 795,113 891,95 1060,95 c 120,1 159,4 225,23 109,31 208,81 280,141 183,151 318,456 302,682 -16,235 -202,375 -557,418 -99,13 -429,12 -514,0 z" />
diff --git a/themes/dj_blog/layouts/partials/sidebar.svg b/themes/dj_blog/layouts/partials/sidebar.svg
index 1f91477..63aa3ed 100755
--- a/themes/dj_blog/layouts/partials/sidebar.svg
+++ b/themes/dj_blog/layouts/partials/sidebar.svg
@@ -60,11 +60,11 @@
<path d="M62.16 0c6.7 0 10.05 4.57 10.05 9.8 0 6.5-5.8 12.54-13.4 12.54-6.33 0-10.03-3.75-9.85-9.94 0-5.22 4.4-12.4 13.2-12.4zM41.54 100c-5.28 0-9.16-3.26-5.46-17.6l6.07-25.47c1.06-4.08 1.23-5.7 0-5.7-1.6 0-8.45 2.8-12.5 5.58L27 52.4C39.86 41.5 54.66 35.08 61 35.08c5.3 0 6.17 6.36 3.53 16.15l-6.95 26.76c-1.23 4.73-.7 6.36.53 6.36 1.6 0 6.8-1.96 11.9-6.04l3 4.08C60.5 95.1 46.83 100 41.54 100z" transform="matrix(1.087 0 0 1.2 178.888 205.7)" filter="url(#f)"/>
</a>
- <a class="side-nav" xlink:title="Previous Article" xlink:href="{{if .PrevInSection}}{{.PrevInSection.Permalink}}{{end}}">
+ <a class="side-nav" xlink:title="Previous Article" xlink:href="{{if .PrevInSection}}{{.PrevInSection.Permalink}}{{else}}javascript:void(0);{{end}}">
<path d="M1149 1784c-233-240-425-440-427-444-1-4 55-62 125-130s269-261 442-429l314-306 137 143 137 143-191 187c-105 103-240 234-299 292l-108 105 291 300 290 299-137 138c-76 76-140 138-143 138s-197-196-431-436z" transform="matrix(.056 0 0 -.057 112.114 626.942)" filter="url(#c)" {{if not .PrevInSection}} fill="#4CABAB" style="cursor: not-allowed;" {{end}}/>
</a>
- <a class="side-nav" xlink:title="Next Article" xlink:href="{{if .NextInSection}}{{.NextInSection.Permalink}}{{end}}">
+ <a class="side-nav" xlink:title="Next Article" xlink:href="{{if .NextInSection}}{{.NextInSection.Permalink}}{{else}}javascript:void(0);{{end}}">
<path d="M1149 1784c-233-240-425-440-427-444-1-4 55-62 125-130s269-261 442-429l314-306 137 143 137 143-191 187c-105 103-240 234-299 292l-108 105 291 300 290 299-137 138c-76 76-140 138-143 138s-197-196-431-436z" transform="matrix(-.056 0 0 -.057 358.62 626.815)" filter="url(#d)" {{if not .NextInSection}} fill="#4CABAB" style="cursor: not-allowed;" {{end}}/>
</a>