forked from laurens/fediversity_website
		
	Links zoveel mogelijk relatief ipv absoluut
This commit is contained in:
		
							parent
							
								
									3010fb699a
								
							
						
					
					
						commit
						bc191b7905
					
				
					 5 changed files with 7 additions and 7 deletions
				
			
		|  | @ -22,7 +22,7 @@ | |||
|                   <ul> | ||||
|                     {{ range .Pages }} | ||||
|                       <li> | ||||
|                         <a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | default .Site.Params.textNoTitle }}</a> | ||||
|                         <a class="link" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title | default .Site.Params.textNoTitle }}</a> | ||||
|                       </li> | ||||
|                       {{ end }} | ||||
|                   </ul> | ||||
|  | @ -37,7 +37,7 @@ | |||
|                     {{ $taxonomy := "tags" }} {{ with .Param $taxonomy }} | ||||
|                     <ul> | ||||
|                     {{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}} | ||||
|                     <li><a href="{{ .Permalink }}">{{ $tag | urlize }}</a></li> | ||||
|                     <li><a href="{{ .RelPermalink }}">{{ $tag | urlize }}</a></li> | ||||
|                     {{- end -}} {{- end -}} | ||||
|                     </ul> | ||||
|                     {{ end }} | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ | |||
|     <ul class="list"> | ||||
|       {{ range .Pages }} | ||||
|         <li> | ||||
|           <a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> | ||||
|           <a class="link" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title }}</a> | ||||
|           <hr class="hr-list"> | ||||
|           <time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "02-01-2006" .Date }}</time> | ||||
|         </li> | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|       <ul class="list"> | ||||
|         {{ range (first 5 (where .Site.RegularPages "Section" "nieuws").ByDate.Reverse) }} | ||||
|           <li> | ||||
|             <a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> | ||||
|             <a class="link" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title }}</a> | ||||
|             <hr class="hr-list"> | ||||
|             <time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "02-01-2006" .Date }}</time> | ||||
|           </li> | ||||
|  |  | |||
|  | @ -11,7 +11,7 @@ | |||
|       {{ end }} | ||||
|     {{ end }} | ||||
|     <li class="active"> | ||||
|       <a aria-current="page" href="{{ .Permalink }}">{{ .LinkTitle }}</a> | ||||
|       <a aria-current="page" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> | ||||
|     </li> | ||||
|   </ol> | ||||
| </nav> | ||||
|  |  | |||
|  | @ -34,8 +34,8 @@ | |||
|       <h2>Nuttige links</h2> | ||||
|       <nav aria-label="Footer links"> | ||||
|         <ul> | ||||
|           <li><a href="{{ absURL "contact/" }}">Contact</a></li> | ||||
|           <li><a href="{{ absURL "privacy/" }}">Privacy</a></li> | ||||
|           <li><a href="{{ relURL "contact/" }}">Contact</a></li> | ||||
|           <li><a href="{{ relURL "privacy/" }}">Privacy</a></li> | ||||
|         </ul> | ||||
|       </nav> | ||||
|     </div> | ||||
|  |  | |||
		Reference in a new issue