Autoren-Status/einfache bzw. erweiterte Autoren (schließt #217)
This commit is contained in:
		| @@ -3,9 +3,15 @@ | ||||
|   <div class="card-body d-flex flex-column"> | ||||
|     <div class="row mb-2"> | ||||
|       <div class="col-6"><i class="mdi mdi-calendar-today me-2"></i>{{ time.Format "02. Jan 2006" .PublishDate }}</div> | ||||
|       <div class="col-6"> | ||||
|       <div class="col-6 text-truncate"> | ||||
|         <i class="mdi mdi-fountain-pen-tip me-2"></i> | ||||
|         <a href="{{ `author` | relLangURL }}/{{ .Params.author | urlize }}">{{ .Params.author | title }}</a> | ||||
|         {{ range where (where .Site.RegularPages "Type" "author") "Title" .Params.author  }} | ||||
|           {{ if .Params.simplified }} | ||||
|             {{ .Title }} | ||||
|           {{ else }} | ||||
|             <a href="{{ .Permalink }}">{{ .Title }}</a> | ||||
|           {{ end }} | ||||
|         {{ end }} | ||||
|       </div> | ||||
|     </div> | ||||
|     <h4 class="card-title text-truncate"><a href="{{ .Permalink }}">{{ .Title }}</a></h4> | ||||
|   | ||||
| @@ -12,7 +12,13 @@ | ||||
|             <div class="row mb-3"> | ||||
|               <div class="col-6 mb-md-0 text-light"> | ||||
|                 <span class="fw-bold me-1">{{ i18n "posted_by" }}:</span> | ||||
|                 <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.author | title }}</a> | ||||
|                 {{ range where (where .Site.RegularPages "Type" "author") "Title" .Params.author  }} | ||||
|                   {{ if .Params.simplified }} | ||||
|                     {{ .Title }} | ||||
|                   {{ else }} | ||||
|                     <a href="{{ .Permalink }}">{{ .Title }}</a> | ||||
|                   {{ end }} | ||||
|                 {{ end }} | ||||
|               </div> | ||||
|               <div class="col-6 mb-3 mb-md-0 text-light"> | ||||
|                 <span class="fw-bold me-1">{{ i18n "date" }}:</span> | ||||
|   | ||||
| @@ -21,7 +21,9 @@ | ||||
|                 <div class="card-body text-end"> | ||||
|                   <h5 class="card-title text-start">{{ .Title }}</h5> | ||||
|                   <p class="card-text text-truncate text-start">{{ .Summary }}</p> | ||||
|                   {{ if not .Params.simplified }} | ||||
|                   <a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a> | ||||
|                   {{ end }} | ||||
|                 </div> | ||||
|               </div> | ||||
|             </div> | ||||
|   | ||||
| @@ -124,7 +124,13 @@ | ||||
|             <div class="row mb-2"> | ||||
|               <div class="col-6"> | ||||
|                 <i class="mdi mdi-fountain-pen-tip me-2"></i> | ||||
|                 <a href="{{ `author` | relLangURL }}/{{ $data.ausblick.author | urlize }}">{{ $data.ausblick.author | title }}</a> | ||||
|                 {{ range where (where .Site.RegularPages "Type" "author") "Title" $data.ausblick.author  }} | ||||
|                   {{ if .Params.simplified }} | ||||
|                     {{ .Title }} | ||||
|                   {{ else }} | ||||
|                     <a href="{{ .Permalink }}">{{ .Title }}</a> | ||||
|                   {{ end }} | ||||
|                 {{ end }} | ||||
|               </div> | ||||
|             </div> | ||||
|             <h4 class="card-title text-truncate" onclick="$('#{{ md5 $data.ausblick.title }}').modal('show');">{{ $data.ausblick.title }}</h4> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user