{{ define "main" }}
  <div class="project-container">
    <section class="project-list">
      <h4>What else</h4>
      <ul>
        {{ range (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
          <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
        {{ end }}
      </ul>
    </section>
      
    <section class="project">
      <h2>{{ .Title }}</h2>
      {{ if isset .Params "image" }}
        <img alt="{{ .Params.alt_text }}" src="{{ .Params.image }}">
      {{ end }}
        
      <h3>Tech used</h3>
      <ul>
        {{ range .Params.tech_used }}
          <li>{{ . }}</li>
        {{ end }}
      </ul>
      {{ .Content }}
      {{ if .Params.isCommentingProject }}
        <div id="remark42"></div>
      {{ end }}
    </section>
  </div>
{{ end }}
