<!DOCTYPE html>
<html lang="en">
  <head>
    <title>MatterLinux | Configs</title>
    {{template "parts/head" .}}
    <link href="/configs.css" rel="stylesheet">
    <link href="/md.css" rel="stylesheet">
  </head>
  <body>
    {{template "parts/bar" .}}
    <main>
     <div class="md">
        <h1>Config Hub</h1>
        {{.content.HTML}}
      </div>
      <div class="list">
      {{range .list}}
        <div class="config">
          <img src="{{.Image}}">
          <div class="details">
            <h1>{{.Name}}</h1>
            <table>
              <tr>
                <th>URL</th>
                <td><a href="{{.Redirect}}">{{.Name}}</a></td>
              </tr>
              {{ if .Desc }}
                <tr>
                  <th>Description</th>
                  <td>{{.Desc}}</td>
                </tr>
              {{ end }}
              <tr>
                <th>Author</th>
                <td>{{.Author}}</td>
              </tr>
              <tr>
                <th>Keywords</th>
                <td>{{.Keywords}}</td>
              </tr>
            </table>
            <p>
              Run the following to install this
              confiugraiton:
            </p>
            <pre>$ confer pull {{.Name}}</pre>
          </div>
        </div>
      {{end}}
      </div>
    </main>
  </body>
</html>
