Update logo so it splits a little nicer
This commit is contained in:
		
							parent
							
								
									dff8e50788
								
							
						
					
					
						commit
						896dbba4cf
					
				| @ -5,4 +5,8 @@ | |||||||
|   background: var(--accent); |   background: var(--accent); | ||||||
|   color: black; |   color: black; | ||||||
|   padding: 5px 10px; |   padding: 5px 10px; | ||||||
|  |    | ||||||
|  |   span { | ||||||
|  |       text-align: center; | ||||||
|  |   } | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,5 +1,18 @@ | |||||||
| <a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}"> | <a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}"> | ||||||
|   <div class="logo"> |   <div class="logo"> | ||||||
|     {{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}Terminal{{ end }} |     {{ with $.Site.Params.Logo.logoText }} | ||||||
|  |       {{ if $.Site.Params.Logo.logoSplit}} | ||||||
|  |         {{ $logoSplit := split . $.Site.Params.Logo.logoSplit }} | ||||||
|  |         {{ range $logoSplit }} | ||||||
|  |           <span>{{ . }}</span> | ||||||
|  |           {{ if in (last 1 $logoSplit) . }} | ||||||
|  |           {{ else }} | ||||||
|  |             <span style="margin: 0 0.75em"> / </span> | ||||||
|  |           {{ end }} | ||||||
|  |         {{ end }} | ||||||
|  |       {{ else }} | ||||||
|  |         {{ . }} | ||||||
|  |       {{ end }} | ||||||
|  |     {{ end }} | ||||||
|   </div> |   </div> | ||||||
| </a> | </a> | ||||||
|  | |||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user