feat(article): add partialCached to article/components/details
Avoid rendering twice (in post list and article page)
This commit is contained in:
parent
e20d401007
commit
c74cc3e4b3
@ -18,5 +18,5 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "article/components/details" . }}
|
||||
{{ partialCached "article/components/details" . .RelPermalink }}
|
||||
</article>
|
@ -16,5 +16,5 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "article/components/details" . }}
|
||||
{{ partialCached "article/components/details" . .RelPermalink }}
|
||||
</header>
|
Loading…
Reference in New Issue
Block a user