{{- extends "layout/default" }} {{- import "blocks/pagination" }} {{- block body() }} {* TODO: replicate the styling used here for the novel series page *} {* *} {{- baseURL := "/users/" + .User.ID }}
{* col-auto! *}

{{ .Title }}

Updated at {{ parseTime:.MangaSeriesContent.Brief.UpdateDate }}{{- if .MangaSeriesContent.Brief.Total == 1 }}{{ .MangaSeriesContent.Brief.Total }} chapter{{- else }}{{ .MangaSeriesContent.Brief.Total }} chapters{{- end }}
{* View Pixiv original button *} {* TODO: looks weird with the "Read first episode" button also present; should be removed once we support adding to user's watchlist *} {{- if .MangaSeriesContent.Brief.Caption }}

{{ raw: parsePixivRedirect(.MangaSeriesContent.Brief.Caption) }}

{{- end }} {* TODO: include tags for the manga series here *}

{{ .MangaSeriesContent.Total }} works in this series

{{- range .MangaSeriesContent.Series }}
{{ include "fragments/thumbnail-dt" .Brief }}
{{ include "fragments/thumbnail-tt" .Brief }}
{{- end }}
{{- url := baseURL + "/series/" + .MangaSeriesContent.SeriesID + "?p="}} {{- paginationData := createPaginator(url, "#checkpoint", .Page, .PageLimit, 1, 5) }} {{- yield pagination(data=paginationData) }}
{{- end }}