2017-06-16 07:06:16 +03:00
|
|
|
<footer>
|
|
|
|
{{ partial "foot_custom.html" . }}
|
2017-06-17 06:54:36 +03:00
|
|
|
{{ with .Site.Params.footer }}
|
2017-06-16 07:06:16 +03:00
|
|
|
<hr/>
|
2021-12-31 05:10:33 +02:00
|
|
|
{{ replace . "{Year}" now.Year | markdownify}}
|
2017-06-16 07:06:16 +03:00
|
|
|
{{ end }}
|
2017-06-21 21:43:23 +03:00
|
|
|
{{ if .File.Path }}
|
|
|
|
{{ $.Scratch.Set "FilePath" .File.Path }}
|
2017-08-09 19:12:17 +03:00
|
|
|
{{ $RmdFile := (print .File.BaseFileName ".Rmd") }}
|
|
|
|
{{ $Files := readDir (print "content/" .File.Dir) }}
|
|
|
|
{{ if (where $Files "Name" $RmdFile) }}
|
|
|
|
{{ $.Scratch.Set "FilePath" (print .File.Dir $RmdFile) }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $RmdFile := (print .File.BaseFileName ".Rmarkdown") }}
|
|
|
|
{{ if (where $Files "Name" $RmdFile) }}
|
|
|
|
{{ $.Scratch.Set "FilePath" (print .File.Dir $RmdFile) }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.GithubEdit}}
|
|
|
|
| <a href="{{ . }}{{ $.Scratch.Get "FilePath" }}">Edit this page</a>
|
|
|
|
{{ end }}
|
2017-06-21 21:43:23 +03:00
|
|
|
{{ end }}
|
2017-06-16 07:06:16 +03:00
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|