78 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- This file is the homepage of the website. -->
 | |
| 
 | |
| <!DOCTYPE html>
 | |
| <html>
 | |
| <head>
 | |
|     <!--
 | |
|       This section just sets up some metadata for the website.
 | |
| 
 | |
|       It probably does not need to be changed.
 | |
|     -->
 | |
|     <meta charset="utf-8">
 | |
|     <base href="{{ .Site.BaseUrl }}">
 | |
|     <title>{{ .Site.Title }}</title>
 | |
|     <link rel="canonical" href="{{ .Permalink }}">
 | |
|     <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
 | |
| 
 | |
|     {{ template "chrome/head_includes.html" . }}
 | |
| </head>
 | |
|   <body class="theme-base-08" lang="en">
 | |
| 
 | |
|   {{ template "chrome/sidebar.html" . }}
 | |
| 
 | |
|   <!-- See /layouts/indexes/category.html for explanation of this section -->
 | |
|     <div class="wrap">
 | |
|       <div class="masthead">
 | |
|         <div class="container">
 | |
|           <h3 class="masthead-title">
 | |
|             <a href="/" title="Home">Home</a>
 | |
|           </h3>
 | |
|         </div>
 | |
|       </div>
 | |
| 
 | |
|       <!--
 | |
|         This section contains the content of our home page.
 | |
| 
 | |
|         I have broken it into three main sections:
 | |
|           (1) about the blog
 | |
|           (2) about me
 | |
|           (3) Recent posts
 | |
| 
 | |
|         The first two sections are pretty self explanatory.
 | |
| 
 | |
|         In the recent posts section we ask Hugo to use the template found in
 | |
|         /layouts/posts/summary.html to show a summary of the 10 most recent
 | |
|         posts we have made.
 | |
|       -->
 | |
|       <div class="container content">
 | |
|         <h1>This is a Blog</h1>
 | |
| 
 | |
|         <p class="lead"> Welcome to my blog! </p>
 | |
| 
 | |
|         <p>This is really just a barebones website to stand as a template for creating a blog that is statically generated by <a href="http://hugo.spf13.com">Hugo</a> and hosted at on GitHub via <a href="http://pages.github.com/">GitHub Pages</a>.</p>
 | |
| 
 | |
|         <p>I am using a slightly modified version of the <a href="http://lanyon.getpoole.com">Lanyon</a> Jekyll theme. I think it is very simple, clean, and elegant.</p>
 | |
| 
 | |
|         <!-- About me subsection -->
 | |
|         <h2>About me</h2>
 | |
| 
 | |
|         <p>Sometimes people have an "About me" section on the homepage of their website.</p>
 | |
| 
 | |
|         <p>It might even include a picture: </p>
 | |
| 
 | |
|         <!-- Recent Posts section -->
 | |
|         <h1 class="post-title">Recent Posts</h1>
 | |
|           <section id="main">
 | |
|             <ul id="list">
 | |
|               {{ range first 10 .Data.Pages }}
 | |
|               {{ .Render "summary"}}
 | |
|               {{ end }}
 | |
|             </ul>
 | |
|           </section>
 | |
|       </div>
 | |
|     </div>
 | |
| 
 | |
|     <label for="sidebar-checkbox" class="sidebar-toggle"></label>
 | |
| 
 | |
| {{ template "chrome/footer.html" }}
 | 
