Include arrow icon SVG directly in the html
This optimizes both the load time of the icons and allows them to be modified via CSS.
This commit is contained in:
		| @@ -117,16 +117,20 @@ | ||||
| <!--% IF folder %--> | ||||
| <!--% folder = folder %--><!--% ELSE %--><!--% folder = "hpr" %--> | ||||
| <!--% END %--> | ||||
| <nav class="episodes" aria-description="Navigation to other episodes"><span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.earliest) %-->/index.html" rel="first" aria-label="first episode"><img src="/images/icons/arrow-first-plain.svg" alt="<<">First</a></span>, | ||||
| <!--% arrow_first = "arrow-first-plain.svg" %-->  | ||||
| <!--% arrow_prev = "arrow-previous-plain.svg" %-->  | ||||
| <!--% arrow_next = "arrow-next-plain.svg" %-->  | ||||
| <!--% arrow_last = "arrow-last-plain.svg" %-->  | ||||
| <nav class="episodes" aria-description="Navigation to other episodes"><span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.earliest) %-->/index.html" rel="first" aria-label="first episode"><!--% INSERT $arrow_first %--><span class="no-css"><< </span>First</a></span>, | ||||
|     <!--% IF links.previous %--> | ||||
|     <span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.previous) %-->/index.html" rel="previous" aria-label="previous episode"><img src="/images/icons/arrow-previous-plain.svg" alt="<">Previous</a></span>, | ||||
|     <span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.previous) %-->/index.html" rel="previous" aria-label="previous episode"><!--% INSERT $arrow_prev %--><span class="no-css">< </span>Previous</a></span>, | ||||
|     <!--% ELSE %--> | ||||
|     <span class="no-link"><img src="/images/icons/arrow-previous-plain.svg" alt="<">Previous</span>, | ||||
|     <span class="no-link"><!--% INSERT $arrow_prev %--><span class="no-css">< </span>Previous</span>, | ||||
|     <!--% END %--> | ||||
|     <!--% IF links.next %--> | ||||
| 	<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.next) %-->/index.html" rel="next" aria-label="next episode">Next<img src="/images/icons/arrow-next-plain.svg" alt=">"></a></span>,  | ||||
| 	<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.next) %-->/index.html" rel="next" aria-label="next episode">Next<span class="no-css"> ></span><!--% INSERT $arrow_next %--></a></span>,  | ||||
|     <!--% ELSE %--> | ||||
| 	<span class="no-link">Next<img src="/images/icons/arrow-next-plain.svg" alt=">"></span>,  | ||||
| 	<span class="no-link">Next<span class="no-css"> ></span><!--% INSERT $arrow_next %--></span>,  | ||||
|     <!--% END %--> | ||||
| 	<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<img src="/images/icons/arrow-last-plain.svg" alt=">>"></a></span></nav> | ||||
| 	<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<span class="no-css"> >></span><!--% INSERT $arrow_last %--></a></span></nav> | ||||
| <!--% END %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user