Make showing the abstract optional
This commit is contained in:
parent
aa12014c9d
commit
a506ca969c
1 changed files with 6 additions and 4 deletions
|
@ -39,9 +39,11 @@
|
|||
{{ end }}
|
||||
<br />
|
||||
{{ end }}
|
||||
<details>
|
||||
<summary>Abstract</summary>
|
||||
{{ .Content }}
|
||||
</details>
|
||||
{{ if eq (.Scratch.Get "showAbstract") true }}
|
||||
<details>
|
||||
<summary>Abstract</summary>
|
||||
{{ .Content }}
|
||||
</details>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue