Update the resume template and styles
This commit is contained in:
		
							parent
							
								
									ee9da5b829
								
							
						
					
					
						commit
						4800d22fb6
					
				
					 2 changed files with 19 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -13,10 +13,7 @@
 | 
			
		|||
    font-style: italic;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
header h3 {
 | 
			
		||||
    margin-bottom: 0;
 | 
			
		||||
}
 | 
			
		||||
header h3 { margin-block-end: 0.5rem; }
 | 
			
		||||
 | 
			
		||||
ul {
 | 
			
		||||
    margin-top: 0;
 | 
			
		||||
}
 | 
			
		||||
ul { margin-top: 0; }
 | 
			
		||||
li { margin-block-end: 0.75rem; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,25 +1,17 @@
 | 
			
		|||
{{ define "main" }}
 | 
			
		||||
 | 
			
		||||
<article id="resume" class="post-single">
 | 
			
		||||
  <header class="post-title">
 | 
			
		||||
    <h1>{{ .Title }}</h1>
 | 
			
		||||
  </header>
 | 
			
		||||
 | 
			
		||||
  <section class="post-content">
 | 
			
		||||
    {{ .Content }}
 | 
			
		||||
  </section>
 | 
			
		||||
 | 
			
		||||
  <!-- Post Nav -->
 | 
			
		||||
  {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}<!---->
 | 
			
		||||
  {{ if and (gt (len $pages) 1) (in $pages . ) }}
 | 
			
		||||
  <nav class="post-nav">
 | 
			
		||||
    {{ with $pages.Next . }}
 | 
			
		||||
    <a class="prev" href="{{ .Permalink }}"><span>←</span><span>{{ .Name }}</span></a>
 | 
			
		||||
    {{ end }} {{ with $pages.Prev . }}
 | 
			
		||||
    <a class="next" href="{{ .Permalink }}"><span>{{ .Name }}</span><span>→</span></a>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
  </nav>
 | 
			
		||||
  {{ end }}
 | 
			
		||||
</article>
 | 
			
		||||
 | 
			
		||||
{{ define "header" }}
 | 
			
		||||
  {{ partial "header.html" . }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ define "main" }}
 | 
			
		||||
<header class="post-title">
 | 
			
		||||
  <h1>{{ .Title }}</h1>
 | 
			
		||||
</header>
 | 
			
		||||
 | 
			
		||||
<section class="post-content">
 | 
			
		||||
  {{ .Content }}
 | 
			
		||||
</section>
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ define "footer" }}
 | 
			
		||||
  {{ partial "footer.html" . }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue