{{ 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>Projects</h2>

  My latest sideproject is <a class="no-underline text-grey-dark" href="https://upi.link/">upi.link</a>, a small and nifty
  programmable UPI shortlink generator. 
  
  <br><br>

  Here is a list of my most recent projects:

  <br><br>

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

  <br>

  You can find all my projects at the <a href="project_list">project listing page</a>.

  <br><br>

  <h2>Blog</h2>

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

  <br><br>

  You can read my <a class="no-underline text-grey-dark" href="/blog">blog</a> where 
  I try to write about what I am doing and things I find interesting. 
  I have organized my blog using categories
  and tags. You can navigate the blog by using them, 
  or if you prefer to view by date, you can visit
  <a href="blog_list">the blog listing page</a>.
  <br><br>

  Here are the most recent blogs I wrote, 

  <br><br>

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

  <br><br>

  <section>
    <b><a href="/categories">categories</a></b>: <br>
    {{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
      <a href="{{.Permalink}}">{{lower .Title}}</a>
    {{end}}
    <br><br>
    <b><a href="/tags">tags</a></b>: <br>
    {{range ($.Site.GetPage "taxonomyTerm" "tags").Pages }}
      <a href="{{.Permalink}}">{{lower .Title}}</a>
    {{end}}
  </section>

  <br>



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