mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-26 06:16:10 +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
|
||||
|
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
BIN
src/assets/images/docs/backup/dashbox-docs-orange.png
Normal file
BIN
src/assets/images/docs/backup/dashbox-docs-orange.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
Binary file not shown.
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 76 KiB |
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: blockman
|
||||
description: WIP from the cloud on wheels
|
||||
image: images/docs/blockman-docs-pinkish.png
|
||||
priority: 0.7
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: dashbox
|
||||
description: Simple development framework for Dash Platform
|
||||
image: images/docs/dashbox-docs-orange.png
|
||||
priority: 0.8
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<meta charset="utf-8">
|
||||
<title>{{#if title}}{{ title }} - {{/if}}{{ name }}</title>
|
||||
{{#if description}}<meta name="description" content="{{ description }}" />{{/if}}
|
||||
{{#if description}}
|
||||
<meta name="description" content="{{ description }}" />{{/if}}
|
||||
|
||||
<meta name="HandheldFriendly" content="true">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
|
@ -9,4 +10,4 @@
|
|||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
|
||||
<link rel="stylesheet" media="all" href="{{ root }}css/styles.css" />
|
||||
<link rel="stylesheet" media="all" href="{{ root }}css/styles.css" />
|
|
@ -4,7 +4,8 @@
|
|||
{{#each navsub}}
|
||||
<li>
|
||||
<a href="{{ path }}">
|
||||
|
||||
<!-- <img src="{{ root }}{{ image }}" width="80" /> -->
|
||||
<img src="{{ image }}" width="80" />
|
||||
<h2>{{ title }}</h2>
|
||||
|
||||
{{#if description}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue