diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2019-12-21 21:25:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 21:25:21 +0200 |
commit | a8f60c31b75fe5a3c91a6595585738523f1cad25 (patch) | |
tree | 7528a3042e37765e286c9490f5b321e6799acb41 /layouts/_default | |
parent | 96394ffb854ec6b8f17aa1ef105eb9ff92e5e676 (diff) | |
parent | 12e885ad58d44d55603a64906d1dcf7f1d961b4c (diff) |
cState v4.0 Final (#82)
cState v4.0 Final
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.json | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 51a09e8..48596df 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,9 @@ <body class="default single"> <div class="contain"> <a href="{{ .Site.BaseURL }}">← {{ T "goBack" }} <em>{{ .Site.Title }}</em></a> - <hr> + + <div class="padding"></div> + {{ .Content }} </div> diff --git a/layouts/_default/single.json b/layouts/_default/single.json new file mode 100644 index 0000000..634e2bc --- /dev/null +++ b/layouts/_default/single.json @@ -0,0 +1,8 @@ +{ + "is": "page", + "title": "{{ .Title }}", + "createdAt": "{{ .Date }}", + "filename": "{{ .File.LogicalName }}", + "permalink": "{{ .Permalink }}", + "body": {{ jsonify .Content }} +}
\ No newline at end of file |