Static CMS v2.0 (#226)
- [x] Update auf Static CMS v2.0 - [x] aktualisierte Shortcodes (schließt #225) - [x] aktualisierte Previews (schließt #181) - Ordnerunterstützung - [x] vervollständigte Seiten - [x] Aufräumarbeiten Reviewed-on: https://git.cantorgymnasium.de/gcg/gcg-website/pulls/226
This commit is contained in:
		
							
								
								
									
										7
									
								
								layouts/partials/card-btn-ni.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								layouts/partials/card-btn-ni.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <div class="card border-primary rounded-0 hover-shadow mb-4"> | ||||
|     <div class="card-body"> | ||||
|       <h4 class="card-title text-truncate"><a href="{{ .link }}">{{ .title }}</a></h4> | ||||
|       <a href="{{ .link }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "show_more"}}</a> | ||||
|     </div> | ||||
|   </div> | ||||
|      | ||||
| @@ -1,4 +1,4 @@ | ||||
| <div class="card d-md-table w-100 hover-shadow border-primary ps-0 mb-4"> | ||||
| <div class="card d-md-table w-100 hover-shadow border-primary ps-0 pe-0 mb-4"> | ||||
|     <div class="d-md-table-cell text-center p-4 bg-primary text-white mb-4 mb-md-0 termin-tc rounded"> | ||||
|       <span class="h2 d-block">{{ time.Format "2" .date}}</span> | ||||
|       <span class="d-block">{{ time.Format "Jan 2006" .date}}</span> | ||||
| @@ -8,7 +8,7 @@ | ||||
|       <p class="h4 mb-0 d-block">{{ .title }}</p> | ||||
|     </div> | ||||
|     {{ with .location }} | ||||
|     <div class="d-md-table-cell text-end pe-0 pe-md-4 p-2 vertical-align-middle"> | ||||
|     <div class="d-md-table-cell text-end pe-md-4 p-2 vertical-align-middle"> | ||||
|       <p><i class="mdi mdi-map-marker-radius-outline icon-s text-primary me-2"></i>{{ . | markdownify }}</p> | ||||
|     </div> | ||||
|     {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user