Skip to content

Commit

Permalink
add transform unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley committed Jul 22, 2024
1 parent f6db4fb commit 0ddd56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h3 class="subtitle is-5 is-size-6-mobile has-text-white">
{{ $token := getenv "PRODBTOKEN15331" }}
{{ $bearertoken := printf "Bearer %s" $token }}
{{ $urlPre := "https://pro.dbflex.net" }}
{{ $newsE := resources.GetRemote "https://pro.dbflex.net/secure/api/v2/15331/Web%20Information/API%20List%20All%20EN/select.json" (dict "Authorization" $bearertoken) }}
{{ $newsE := resources.GetRemote "https://pro.dbflex.net/secure/api/v2/15331/Web%20Information/API%20List%20All%20EN/select.json" (dict "Authorization" $bearertoken) | transform.Unmarshal }}
{{ range first 8 $newsE }}
<tr>
<th class="has-text-right" style="white-space: nowrap;">{{ .Date }}</th>
Expand Down

0 comments on commit 0ddd56c

Please sign in to comment.