mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-26 22:36:09 +00:00
update moremeta.js to show {{ image }} from MD YAML files and use in partial pagelist-docs
This commit is contained in:
parent
e8385b274b
commit
30ac160237
8 changed files with 9 additions and 3 deletions
|
@ -49,6 +49,7 @@ module.exports = function() {
|
|||
file.navmain.push({
|
||||
title: page.title || 'Home',
|
||||
description: page.description || '',
|
||||
image: file.root + page.image || '',
|
||||
path: file.root + page.path + (page.path ? '/' : ''),
|
||||
dateFormat: page.dateFormat,
|
||||
active: page.path == file.path || page.collection.indexOf(file.mainCollection) >= 0
|
||||
|
@ -75,6 +76,7 @@ module.exports = function() {
|
|||
file.navsub.push({
|
||||
title: page.title || 'Home',
|
||||
description: page.description || '',
|
||||
image: file.root + page.image || '',
|
||||
path: file.root + page.path + (page.path ? '/' : ''),
|
||||
dateFormat: page.dateFormat,
|
||||
active: page.path == file.path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue