{{ define "title" -}}
  {{ .Site.Title }}
{{- end }}
{{ define "header" }}
  {{ partial "masthead.html" . }}
{{ end }}
{{ define "main" }}
  <header>
    <h1>{{ .Title }} <small>(rhnvrm)</small></h1>
  </header>

  <div class="leader">
    <img src="/wp-content/uploads/avatar.jpg" class="myimage">
    <div>
      Hello World 👋 <br>
      Welcome to my homepage.
    </div>
  </div>

  <br><br>

  <h2>Social</h2>
  <table>
  <tr><td>github</td> <td>
    <a target="_blank" rel="me" data-hint="Github" title="Github" href="https://github.com/rhnvrm">https://github.com/rhnvrm</a>
  </td></tr>
  <tr><td>keybase</td> <td>
    <a target="_blank" rel="me" data-hint="Keybase" title="Keybase" href="https://keybase.io/rhnvrm">https://keybase.io/rhnvrm</a>
  </td></tr>
  <tr><td>twitter</td> <td>
    <a target="_blank" rel="me" data-hint="Twitter" title="Twitter" href="https://twitter.com/rhnvrm">https://twitter.com/rhnvrm</a>
  </td></tr>
  <tr><td>linkedin</td> <td>
    <a target="_blank" data-hint="Linkedin" title="Linkedin" href="https://www.linkedin.com/in/rhnvrm/">https://www.linkedin.com/in/rhnvrm/</a>
  </td></tr>
  <tr><td>youtube</td> <td>
    <a target="_blank" data-hint="Youtube" title="Youtube" href="https://www.youtube.com/user/TheRohanVerma">https://www.youtube.com/user/TheRohanVerma</a>
  </td></tr>
  </table>

  <h2><a href="/blog">Blog</a></h2>

  I write about what I am doing and things I find interesting. 

  <ul>
  {{ range first 10 .Site.RegularPages }}
    <li>
      <a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
    </li>
  {{ end }}
    <li>
      <a href="/archive">more...</a>
    </li>
  </ul>

  This blog is also available via <a href="/blog/index.xml">[RSS]</a>

  <br><br>

  <section>
    <h3><a href="/categories">Categories</a></h3>
    {{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
      <a class="no-underline" style="margin-right:0.5rem;" href="{{.Permalink}}">{{lower .Title}}</a>
    {{end}}
    <br><br>
    <h3><a href="/tags">Tags</a></h3>
    {{range ($.Site.GetPage "taxonomyTerm" "tags").Pages }}
      <a class="no-underline" style="margin-right:0.5rem;" href="{{.Permalink}}">{{lower .Title}}</a>
    {{end}}
  </section>

  <br>
  <br>
  <h2>Recent Projects</h2>

  <ul>  
  {{ range first 10 .Site.Taxonomies.categories.projects }}
    <li>
      <a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
    </li>
  {{ end }}
    <li>
      <a href="/categories/projects">more...</a>
    </li>
  </ul>


{{ end }}
{{ define "footer" }}
  {{ partial "powered-by.html" . }}
{{ end }}
