forked from laurens/fediversity_website
		
	
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ define "main" }}
 | 
						|
 | 
						|
<div>{{ .Content }}</div>
 | 
						|
 | 
						|
<h2>Secties</h2>
 | 
						|
 | 
						|
{{ range $.Site.Sections.ByTitle }}
 | 
						|
  <h3><a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a></h3>
 | 
						|
  {{ partial "recursive-pages.html" . }}
 | 
						|
{{ end }}
 | 
						|
 | 
						|
 | 
						|
<h2>Laatste wijzigingen</h2>
 | 
						|
  {{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }}
 | 
						|
  <div class="table-wrapper">
 | 
						|
    <table class="fl-table">
 | 
						|
        <thead>
 | 
						|
          <tr>
 | 
						|
            <th>Datum</th>
 | 
						|
            <th>Titel</th>
 | 
						|
            {{ if .Site.IsServer }}
 | 
						|
              <th>Taal</th>
 | 
						|
              <th>Bestandsnaam</th>
 | 
						|
            {{ end }}
 | 
						|
          </tr>
 | 
						|
        </thead>
 | 
						|
        <tbody>
 | 
						|
      {{ range first 20 $byLastMod }}
 | 
						|
      <tr>
 | 
						|
        <td><time datetime="{{ .Lastmod | dateFormat "2006-01-02T15:04:05" }}">{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</a></td>
 | 
						|
        <td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>
 | 
						|
        {{ if .Site.IsServer }}
 | 
						|
          <td>{{ with .File }}{{ .Lang }}{{ end }}</td>
 | 
						|
          <td>{{ with .File }}{{ .Path }}{{ end }}</td>
 | 
						|
        {{ end }}
 | 
						|
      </tr>
 | 
						|
      {{ end }}
 | 
						|
        </tbody>
 | 
						|
    </table>
 | 
						|
  </div>
 | 
						|
{{ end }}
 |