1 changed files with 33 additions and 22 deletions
			
			
		@ -1,25 +1,36 @@ | 
				
			|||||
{{ define "main" }} | 
					{{ define "main" }} | 
				
			||||
	<section> | 
					    <main> | 
				
			||||
		{{if not .IsHome }} | 
					        <section class="article-header"> | 
				
			||||
			<div class="article-meta"> | 
					        {{if not .IsHome }} | 
				
			||||
				<h1 class="center-text">{{ .Params.name }}</h1> | 
					
 | 
				
			||||
				<p class="center-text">{{ .Params.bio }}</p> | 
					            <h1>{{ .Params.name }}</h1> | 
				
			||||
				<a class="small-text" href={{ .Params.projects}}>Projects</a> | 
					            <p class="center-text">{{ .Params.bio }}</p> | 
				
			||||
				<span> | </span> | 
					
 | 
				
			||||
				<a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a> | 
					            <a class="small-text" href={{ .Params.projects}}>Projects</a> | 
				
			||||
				<div class="break"></div> | 
					            <span> | </span> | 
				
			||||
				{{ with .Resources.GetMatch "avatar" }} | 
					            <a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a> | 
				
			||||
					<img class="shadow small-image" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> | 
					
 | 
				
			||||
				{{ end }} | 
					            <div class="break"></div> | 
				
			||||
			</div> | 
					            {{ with .Resources.GetMatch "avatar" }} | 
				
			||||
	  {{ end }} | 
					                <img class="shadow small-image featured" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> | 
				
			||||
	  {{ .Content }} | 
					            {{ end }} | 
				
			||||
	  <h2>Posts:</h2> | 
					
 | 
				
			||||
	</section> | 
					        {{ end }} | 
				
			||||
  <section class="article-list"> | 
					
 | 
				
			||||
     {{ range .Data.Pages }} | 
					        {{ .Content }} | 
				
			||||
			 {{ partial "article-card.html" . }} | 
					
 | 
				
			||||
     {{ end }} | 
					        </section> | 
				
			||||
   </section> | 
					    </main> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    <section> | 
				
			||||
 | 
					        <h2>Posts:</h2> | 
				
			||||
 | 
					    </section> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    <section class="article-list"> | 
				
			||||
 | 
					        {{ range .Data.Pages }} | 
				
			||||
 | 
					            {{ partial "article-card.html" . }} | 
				
			||||
 | 
					        {{ end }} | 
				
			||||
 | 
					    </section> | 
				
			||||
 | 
					
 | 
				
			||||
{{ end }} | 
					{{ end }} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
				
			|||||
					Loading…
					
					
				
		Reference in new issue