Skip to content

Commit bd565b3

Browse files
committed
fix: hotfix for pages links (#2068)
1 parent 0849940 commit bd565b3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/back-end/builddata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"version": "0.46.4",
3-
"build": 17044
3+
"build": 17047
44
}

app/back-end/modules/render-html/renderer-cache.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,16 @@ class RendererCache {
600600
* Set internal links for tags and authors
601601
*/
602602
setInternalLinks (posts, pages) {
603+
pages.map(page => {
604+
page.setHierarchyLinks();
605+
});
606+
603607
posts.map(post => {
604608
post.setInternalLinks();
605609
});
606610

607611
pages.map(page => {
608612
page.setInternalLinks();
609-
page.setHierarchyLinks();
610613
});
611614

612615
let authorIDs = Object.keys(this.renderer.cachedItems.authors);

0 commit comments

Comments
 (0)