Skip to content

Commit

Permalink
Move evaluations to static so they can be downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed May 1, 2024
1 parent 8c6917a commit 2dcb00c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/shortcodes/satre_evaluation.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $filename := .Get "evaluation_csv" }}
{{ $data := getCSV "," (path.Join "data/evaluations/" $filename) }}
{{ $data := getCSV "," (path.Join "static/evaluations/" $filename) }}

{{/*
Split CSV into separate tables, based on the section column.
Expand Down Expand Up @@ -47,4 +47,4 @@ <h2 id="{{ $section | anchorize }}">{{ $section }}</h2>
{{ end }}
</table>

{{ $filename }}
<a class="right-8" aria-label="Download" href="{{ (path.Join "evaluations" $filename) | relURL }}">{{- $filename -}}&nbsp;&#x21D3;</a>

0 comments on commit 2dcb00c

Please sign in to comment.