Layout-Umbauten:
- Standartisierung der Karten-/Template-Elemente (schließt #224) - Verbesserung einiger Ansichten - "schrumpfung" - Code-Cleanups - Trabsliteration Kategorien u. v. m.
This commit is contained in:
		| @@ -1,50 +1,49 @@ | ||||
| {{ define "main" }} | ||||
|  | ||||
| <section class="section bg-light"> | ||||
| 	<div class="container"> | ||||
| 		<div class="row"> | ||||
| 			<div class="col-lg-10 mx-auto"> | ||||
| 				<div class="text-center"> | ||||
| 					<figure> | ||||
| 						{{ if .Params.Image }} | ||||
| 						<img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}" width="128px"> | ||||
| 						{{else if .Params.Email}} | ||||
| 						<img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon"> | ||||
| 						{{ end }} | ||||
| 						<figcaption> | ||||
| 							<h4 class="font-weight-bold"> | ||||
| 								{{ .Title }} | ||||
| 							</h4> | ||||
| 						</figcaption> | ||||
| 					</figure> | ||||
| 					<hr> | ||||
| 					{{ .Content }} | ||||
| 					<hr> | ||||
| 					<ul class="list-inline"> | ||||
| 						{{ range .Params.Social }} | ||||
| 						<li class="list-inline-item"><a href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li> | ||||
| 						{{ end }} | ||||
| 					</ul> | ||||
| 				</div> | ||||
| 			</div> | ||||
| <section class="section-sm bg-light"> | ||||
|   <div class="container"> | ||||
| 	<div class="row"> | ||||
|       <div class="col-lg-10 mx-auto"> | ||||
| 		<div class="text-center"> | ||||
| 	      <figure> | ||||
| 		    {{ if .Params.image }} | ||||
| 			  <img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}" width="128px"> | ||||
| 			{{ else if .Params.email}} | ||||
| 			  <img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon"> | ||||
| 			{{ end }} | ||||
| 			<figcaption> | ||||
| 			  <h4 class="font-weight-bold">{{ .Title }}</h4> | ||||
| 			</figcaption> | ||||
| 		  </figure> | ||||
| 		  <hr> | ||||
| 		  {{ .Content }} | ||||
| 		  <hr> | ||||
| 		  <ul class="list-inline"> | ||||
| 		    {{ range .Params.social }} | ||||
| 		      <li class="list-inline-item"><a href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li> | ||||
| 		    {{ end }} | ||||
| 		  </ul> | ||||
| 		</div> | ||||
|       </div> | ||||
| 	</div> | ||||
|   </div> | ||||
| </section> | ||||
|  | ||||
| <section class="section"> | ||||
| 	<div class="container"> | ||||
| 		<div class="row"> | ||||
| 			<div class="col-lg-12"> | ||||
| 				<div class="title text-center"> | ||||
| 					<h2 class="section-title">{{ i18n "posted_by" }} {{ .Title }}</h2> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			{{ range where .Site.RegularPages "Params.author" (.Title | title) }} | ||||
| 			<div class="col-lg-4 col-sm-6 mb-4"> | ||||
| 				{{ .Render "post" }} | ||||
| 			</div> | ||||
| 			{{ end }} | ||||
| <section class="section-sm"> | ||||
|   <div class="container"> | ||||
|     <div class="row"> | ||||
| 	  <div class="col-lg-12"> | ||||
| 		<div class="title text-center"> | ||||
| 		  <h2 class="section-title">{{ i18n "posted_by" }} {{ .Title }}</h2> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	  {{ range where .Site.RegularPages "Params.author" (.Title | title) }} | ||||
| 	    <div class="col-lg-4 col-sm-6 mb-4"> | ||||
| 	      {{ .Render "card" }} | ||||
| 	    </div> | ||||
| 	  {{ end }} | ||||
|     </div> | ||||
|   </div> | ||||
| </section> | ||||
|  | ||||
| {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user