index formatting and h-card
This commit is contained in:
		
							parent
							
								
									38c5d9235e
								
							
						
					
					
						commit
						988f80d353
					
				| @ -1,4 +1,5 @@ | ||||
| {{ define "main" }} | ||||
| <article> | ||||
|     {{ .Content }} | ||||
|     <h2>Latest Blog Posts</h2> | ||||
|     {{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }} | ||||
| @ -6,4 +7,5 @@ | ||||
|         <p>{{ .Summary }}</p> | ||||
|         <a href="{{ .RelPermalink }}">Read More ></a> | ||||
|     {{ end }} | ||||
| </article> | ||||
| {{ end }} | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| <div class="main-sidebar"> | ||||
|     <div class="header-nav"> | ||||
|         <header> | ||||
|             <div class="profile"> | ||||
|                 <a class="sitetitle" href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a> | ||||
|                 <img width="100px" src="/images/avatar.jpg"> | ||||
|             <div class="profile h-card"> | ||||
|                 <a class="sitetitle u-url" href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a> | ||||
|                 <img class="u-photo" width="100px" src="/images/avatar.jpg"> | ||||
|                 <div id="social-links"> | ||||
|                     <ul class="social"> | ||||
|                         {{ range site.Menus.social }} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user