no link underline: remove class from links, use SCSS variable instead
This commit is contained in:
		
							parent
							
								
									9930b31d67
								
							
						
					
					
						commit
						51022e8a2e
					
				
					 6 changed files with 12 additions and 18 deletions
				
			
		|  | @ -1,10 +1,10 @@ | |||
| <div class="col-md-4"> | ||||
| <div class="card mb-3"> | ||||
| <a href="{{ .Permalink }}" class="index-anchor text-decoration-none"> | ||||
| <a href="{{ .Permalink }}" class="index-anchor"> | ||||
|   {{- $img := .Params.img -}} | ||||
|   {{- $refImg := "" -}} | ||||
|   {{- if .Params.imgRef -}} | ||||
|     {{- range where .Site.RegularPages "Params.pageid" "eq" .Params.imgRef -}} | ||||
|   {{- if .Params.imgref -}} | ||||
|     {{- range where .Site.RegularPages "Params.pageid" "eq" .Params.imgref -}} | ||||
|       {{- $refImg = .Params.img -}} | ||||
|     {{- end -}} | ||||
|   {{- end -}} | ||||
|  |  | |||
|  | @ -6,8 +6,7 @@ | |||
| 			{{ with .Site.Params.copyright -}} | ||||
| 	  	<li class="list-inline-item"> | ||||
| 				<span class="fa fa-copyright"></span> | ||||
| 		  		<a target="_blank" class="text-decoration-none" | ||||
| 		     		 href="{{ .link }}">{{ .name }}</a> | ||||
| 		  		<a target="_blank" href="{{ .link }}">{{ .name }}</a> | ||||
| 		  </li> | ||||
| 			{{- end }} | ||||
|       {{ with  .Site.Params.email -}} | ||||
|  | @ -38,14 +37,12 @@ | |||
|     <ul class="col-md-4 text-end list-inline"> | ||||
|       {{ with .Site.Params.legal -}} | ||||
| 	  	<li class="list-inline-item"> | ||||
|   	    <a class="text-decoration-none"  | ||||
| 			 		 href="{{ site.BaseURL }}{{ .path }}">{{ .name }}</a> | ||||
|   	    <a href="{{ site.BaseURL }}{{ .path }}">{{ .name }}</a> | ||||
| 			</li> | ||||
| 	    {{- end }} | ||||
| 	    {{ with .Site.Params.privacy -}} | ||||
| 	  	<li class="list-inline-item"> | ||||
|         <a class="text-decoration-none"  | ||||
| 		 			 href="{{ site.BaseURL }}{{ .path }}">{{ .name }}</a> | ||||
|         <a href="{{ site.BaseURL }}{{ .path }}">{{ .name }}</a> | ||||
| 			</li> | ||||
| 	    {{- end }} | ||||
|     </ul> | ||||
|  |  | |||
|  | @ -12,8 +12,7 @@ | |||
|   {{- else -}} | ||||
|     {{- $url = $page.Permalink -}} | ||||
|   {{- end -}}   | ||||
|   <a href="{{ $url }}" | ||||
|      class="text-decoration-none">{{ $page.Title }}   | ||||
|   <a href="{{ $url }}">{{ $page.Title }}   | ||||
|     {{ if $page.Date -}} | ||||
|     <small>{{ $page.Date.Format (i18n "dateFormat") }}</small> | ||||
|     {{- else if $page.Params.Teaser -}}<small>{{ $page.Params.Teaser }}</small> | ||||
|  |  | |||
|  | @ -10,9 +10,7 @@ | |||
|           {{ range . -}} | ||||
|             {{- $page := $site.GetPage (printf "/topics/%s" .) -}} | ||||
|             <span class="badge rounded-pill bg-secondary m-1"> | ||||
|               <a href="{{ $page.Permalink }}" | ||||
|                  class="text-decoration-none">{{ $page.Title }} | ||||
|               </a> | ||||
|               <a href="{{ $page.Permalink }}">{{ $page.Title }}</a> | ||||
|             </span> | ||||
|           {{- end }} | ||||
|         </div> | ||||
|  |  | |||
|  | @ -3,8 +3,8 @@ | |||
|   {{- $refImg := "" -}} | ||||
|   {{- $refPage := "" -}} | ||||
|   {{- $img := .Params.img -}} | ||||
|   {{- if .Params.imgRef -}} | ||||
|     {{- range where .Site.RegularPages "Params.pageid" "eq" .Params.imgRef -}} | ||||
|   {{- if .Params.imgref -}} | ||||
|     {{- range where .Site.RegularPages "Params.pageid" "eq" .Params.imgref -}} | ||||
|       {{- $refImg = .Params.img -}} | ||||
|       {{- $refPage = . -}} | ||||
|     {{- end -}} | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ | |||
|     <div class="col-md-{{or $site.Params.TaxoWidth 4}} mt-3"> | ||||
|       <div class="card"> | ||||
|         <a href="{{ .Page.Permalink }}"  | ||||
|            class="list-group-item d-flex justify-content-between align-items-center text-decoration-none"> | ||||
|            class="list-group-item d-flex justify-content-between align-items-center"> | ||||
|           {{ .Page.Title }} | ||||
|           <span class="badge rounded-pill bg-secondary">{{ .Count }}</span> | ||||
|         </a> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue