Browse Source

refactor(layouts): add prevent char entity overflow

Josh Habdas 10 months ago
parent
commit
7e58e80a1d
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74

+ 1
- 1
layouts/_default/search.html View File

@@ -27,7 +27,7 @@
27 27
             <h2 itemprop="name"><a :href="result.item.url"><span v-html="result.item.title"></span></a></h2>
28 28
           </header>
29 29
           <div v-html=result.item.summary itemprop="description"></div>
30
-          <nav class="readmore"><p><a itemprop="url" :href="result.item.url">Read More&nbsp;&raquo;</a></p></nav>
30
+          <nav class="readmore"><p><a itemprop="url" :href="result.item.url">Read More&nbsp;&#x02192;</a></p></nav>
31 31
         </article>
32 32
       </div>
33 33
     </section>

+ 1
- 1
layouts/partials/page-summary.html View File

@@ -15,7 +15,7 @@
15 15
   </div>
16 16
   {{ if .Truncated }}
17 17
     <nav class="readmore"><p>
18
-      <a itemprop="url" href="{{ .RelPermalink }}" rel="bookmark">Read More&nbsp;&raquo;</a>
18
+      <a itemprop="url" href="{{ .RelPermalink }}" rel="bookmark">Read More&nbsp;&#x02192;</a>
19 19
     </p></nav>
20 20
   {{ end }}
21 21
   <meta itemprop="inLanguage" content="{{ .Site.LanguageCode }}">

+ 2
- 2
layouts/partials/pagination.html View File

@@ -1,6 +1,6 @@
1 1
 <nav><p>
2 2
   {{ if .Paginator.HasPrev }}
3
-    <a href="{{ .Paginator.Prev.URL }}">&laquo; Previous</a> |
3
+    <a href="{{ .Paginator.Prev.URL }}">&#x02190;&nbsp;Previous</a> |
4 4
   {{ end }}
5 5
   {{ if eq .Paginator.TotalPages 0 }}
6 6
     <span>OMG the nostalgia! Runs so smoothly too. If only there were published content.</span>
@@ -8,6 +8,6 @@
8 8
     <span>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</span>
9 9
   {{ end }}
10 10
   {{ if .Paginator.HasNext }}
11
-    | <a href="{{ .Paginator.Next.URL }}">Next &raquo;</a>
11
+    | <a href="{{ .Paginator.Next.URL }}">Next&nbsp;&#x02192;</a>
12 12
   {{ end }}
13 13
 </p></nav>

Loading…
Cancel
Save