minor rearrangements and fixes
This commit is contained in:
		
							parent
							
								
									c05a285efa
								
							
						
					
					
						commit
						5979be2db6
					
				
					 9 changed files with 61 additions and 34 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -1,4 +1,4 @@ | ||||||
| public | public | ||||||
| resources | resources | ||||||
| themes | themes | ||||||
| static/images | static/img | ||||||
|  |  | ||||||
|  | @ -1,6 +1,13 @@ | ||||||
| --- | --- | ||||||
| title:  "{{ replace .Name "-" " " | title }}" | title:  "{{ replace .Name "-" " " | title }}" | ||||||
|  | summary: "" | ||||||
|  | img: | ||||||
|  | domains: [] | ||||||
|  | topics: [] | ||||||
| date:   {{ .Date }} | date:   {{ .Date }} | ||||||
|  | author:  | ||||||
| draft:  true | draft:  true | ||||||
|  | weight: 10 | ||||||
| --- | --- | ||||||
| 
 | 
 | ||||||
|  | ### First Headline | ||||||
|  |  | ||||||
							
								
								
									
										30
									
								
								i18n/de.yaml
									
										
									
									
									
								
							
							
						
						
									
										30
									
								
								i18n/de.yaml
									
										
									
									
									
								
							|  | @ -1,5 +1,5 @@ | ||||||
| # | # | ||||||
| # en.yaml 2020-03-08 | # en.yaml 2020-05-10 | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
| about: | about: | ||||||
|  | @ -8,21 +8,21 @@ about: | ||||||
| author: | author: | ||||||
|   other: Autor |   other: Autor | ||||||
| 
 | 
 | ||||||
| categories: |  | ||||||
|   other: Kategorien |  | ||||||
| 
 |  | ||||||
| Categories: |  | ||||||
|   other: Kategorien |  | ||||||
| 
 |  | ||||||
| category: |  | ||||||
|   other: Kategorie |  | ||||||
| 
 |  | ||||||
| contact: | contact: | ||||||
|   other: Kontakt |   other: Kontakt | ||||||
| 
 | 
 | ||||||
| dateFormat: | dateFormat: | ||||||
|   other: 02.01.2006 |   other: 02.01.2006 | ||||||
| 
 | 
 | ||||||
|  | domains: | ||||||
|  |   other: Bereiche | ||||||
|  | 
 | ||||||
|  | Domains: | ||||||
|  |   other: Bereiche | ||||||
|  | 
 | ||||||
|  | domains: | ||||||
|  |   other: Bereich | ||||||
|  | 
 | ||||||
| next: | next: | ||||||
|   other: Weiter |   other: Weiter | ||||||
| 
 | 
 | ||||||
|  | @ -31,3 +31,13 @@ prev: | ||||||
| 
 | 
 | ||||||
| recentArticles: | recentArticles: | ||||||
|   other: Aktuelle Artikel |   other: Aktuelle Artikel | ||||||
|  | 
 | ||||||
|  | topics: | ||||||
|  |   other: Themen | ||||||
|  | 
 | ||||||
|  | Topics: | ||||||
|  |   other: Themen | ||||||
|  | 
 | ||||||
|  | topic: | ||||||
|  |   other: Thema | ||||||
|  | 
 | ||||||
|  |  | ||||||
							
								
								
									
										30
									
								
								i18n/en.yaml
									
										
									
									
									
								
							
							
						
						
									
										30
									
								
								i18n/en.yaml
									
										
									
									
									
								
							|  | @ -1,5 +1,5 @@ | ||||||
| # | # | ||||||
| # en.yaml 2020-03-08 | # en.yaml 2020-05-10 | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
| about: | about: | ||||||
|  | @ -8,15 +8,6 @@ about: | ||||||
| author: | author: | ||||||
|   other: Author |   other: Author | ||||||
| 
 | 
 | ||||||
| categories: |  | ||||||
|   other: Categories |  | ||||||
| 
 |  | ||||||
| Categories: |  | ||||||
|   other: Categories |  | ||||||
| 
 |  | ||||||
| category: |  | ||||||
|   other: Category |  | ||||||
| 
 |  | ||||||
| contact: | contact: | ||||||
|   other: Contact |   other: Contact | ||||||
| 
 | 
 | ||||||
|  | @ -24,6 +15,15 @@ dateFormat: | ||||||
|   other: Jan 02, 2006 |   other: Jan 02, 2006 | ||||||
| #  other: 2006-01-02 | #  other: 2006-01-02 | ||||||
| 
 | 
 | ||||||
|  | domains: | ||||||
|  |   other: Domains | ||||||
|  | 
 | ||||||
|  | Domains: | ||||||
|  |   other: Domains | ||||||
|  | 
 | ||||||
|  | domain: | ||||||
|  |   other: Domain | ||||||
|  | 
 | ||||||
| next: | next: | ||||||
|   other: Next |   other: Next | ||||||
| 
 | 
 | ||||||
|  | @ -32,3 +32,13 @@ prev: | ||||||
| 
 | 
 | ||||||
| recentArticles: | recentArticles: | ||||||
|   other: Recent Posts |   other: Recent Posts | ||||||
|  | 
 | ||||||
|  | topics: | ||||||
|  |   other: Topics | ||||||
|  | 
 | ||||||
|  | Topics: | ||||||
|  |   other: Topics | ||||||
|  | 
 | ||||||
|  | topic: | ||||||
|  |   other: Topic | ||||||
|  | 
 | ||||||
|  |  | ||||||
|  | @ -4,9 +4,9 @@ | ||||||
|     <div class="panel panel-default"> |     <div class="panel panel-default"> | ||||||
|        |        | ||||||
|       {{ if .Params.img }} |       {{ if .Params.img }} | ||||||
|         <img width="100%" src="{{ .Site.BaseURL }}images/{{ .Params.img }}" alt="{{ .Title }}"> |         <img width="100%" src="{{ .Site.BaseURL }}img/{{ .Params.img }}" alt="{{ .Title }}"> | ||||||
|       {{ else if .Site.Params.defaultImage }} |       {{ else if .Site.Params.defaultImage }} | ||||||
|         <img width="100%" src="{{ .Site.BaseURL }}images/{{ .Site.Params.defaultImage }}" alt="{{ .Site.Title }}"> |         <img width="100%" src="{{ .Site.BaseURL }}img/{{ .Site.Params.defaultImage }}" alt="{{ .Site.Title }}"> | ||||||
|       {{ end }} |       {{ end }} | ||||||
| 
 | 
 | ||||||
|       <div class="panel-body"> |       <div class="panel-body"> | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
|       <div class="col-md-4 text-center mt25" > |       <div class="col-md-4 text-center mt25" > | ||||||
|         {{ with .Site.Params.builtBy }} |         {{ with .Site.Params.builtBy }} | ||||||
|           <a target="_blank" href="{{.link}}"><img src="/{{.Site.BaseURL}}images/{{.image}}" alt="{{.name}}"></a> |           <a target="_blank" href="{{.link}}"><img src="/{{.Site.BaseURL}}img/{{.image}}" alt="{{.name}}"></a> | ||||||
|         {{ end }} |         {{ end }} | ||||||
|       </div> |       </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,14 +9,14 @@ | ||||||
|         <span class="icon-bar"></span> |         <span class="icon-bar"></span> | ||||||
|         <span class="icon-bar"></span> |         <span class="icon-bar"></span> | ||||||
|       </button> |       </button> | ||||||
|       <a href="{{ .Site.BaseURL }}"><img src="{{.Site.BaseURL}}images/{{.Site.Params.logo}}" alt="{{.Site.Title}}"></a> |       <a href="{{ .Site.BaseURL }}"><img src="{{.Site.BaseURL}}img/{{.Site.Params.logo}}" alt="{{.Site.Title}}"></a> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <!-- Collect the nav links, forms, and other content for toggling --> |     <!-- Collect the nav links, forms, and other content for toggling --> | ||||||
|     <div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1"> |     <div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1"> | ||||||
|       <ul class="nav navbar-nav navbar-right"> |       <ul class="nav navbar-nav navbar-right"> | ||||||
|         <li><a href="{{ .Site.BaseURL }}pages/about/">{{i18n "about"}}</a></li> |         <li><a href="{{ .Site.BaseURL }}pages/about/">{{i18n "about"}}</a></li> | ||||||
|         <li><a href="{{ .Site.BaseURL }}categories/">{{i18n "categories"}}</a></li> |         <li><a href="{{ .Site.BaseURL }}topics/">{{i18n "topics"}}</a></li> | ||||||
|         <li><a href="{{ .Site.BaseURL }}pages/contact/">{{i18n "contact"}}</a></li> |         <li><a href="{{ .Site.BaseURL }}pages/contact/">{{i18n "contact"}}</a></li> | ||||||
|       </ul> |       </ul> | ||||||
|     </div><!-- /.navbar-collapse --> |     </div><!-- /.navbar-collapse --> | ||||||
|  |  | ||||||
|  | @ -2,17 +2,17 @@ | ||||||
| 
 | 
 | ||||||
|     <div class="post-img"> |     <div class="post-img"> | ||||||
|        {{ if .Params.img }} |        {{ if .Params.img }} | ||||||
|         <img width="600" src="{{ .Site.BaseURL}}images/{{ .Params.img }}" alt="{{ .Params.title }}"> |         <img width="600" src="{{ .Site.BaseURL}}img/{{ .Params.img }}" alt="{{ .Params.title }}"> | ||||||
|         {{ else }} |         {{ else }} | ||||||
|         <img width="600" src="{{ .Site.BaseURL }}images/{{ .Site.Params.defaultImage }}" alt="matrix"> |         <img width="600" src="{{ .Site.BaseURL }}img/{{ .Site.Params.defaultImage }}" alt="matrix"> | ||||||
|         {{ end }} |         {{ end }} | ||||||
|     </div> |     </div> | ||||||
|          |          | ||||||
| 
 | 
 | ||||||
|     {{ $taxo := "categories" }} |     {{ $taxo := "topics" }} | ||||||
|     {{ if .Param $taxo }} |     {{ if .Param $taxo }} | ||||||
|     <div class="mt10 sb-box"> |     <div class="mt10 sb-box"> | ||||||
|       <h3>{{i18n "categories"}}</h3>   |       <h3>{{i18n "topics"}}</h3>   | ||||||
|       <ul id="{{ $taxo }}"> |       <ul id="{{ $taxo }}"> | ||||||
|         {{ range .Param $taxo }} |         {{ range .Param $taxo }} | ||||||
|           {{ $name := . }} |           {{ $name := . }} | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| <div class="home"> | <div class="home"> | ||||||
| 
 | 
 | ||||||
|   <div class="row"> |   <div class="row"> | ||||||
|         <h1 class="site-title">{{i18n "category"}}: {{.Title | title}}</h1> |         <h1 class="site-title">{{i18n "topic"}}: {{.Title | title}}</h1> | ||||||
|         <br /> |         <br /> | ||||||
|   </div> |   </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue