{{/* SPDX-FileCopyrightText: 2022 Ngô Ngọc Đức Huy SPDX-License-Identifier: MIT */}} {{ define "main" }}
{{ .Content }}
{{ if in .Params.categories "book" }} {{ partial "post-navigation-top.html" . }}
{{ partial "toc.html" . }}
{{ else if in .Params.categories "blog" }} {{ partial "feed.html" . }} {{ else }} {{ partial "generic-list.html" . }} {{ end }} {{ end }}