mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-26 22:36:09 +00:00
update
This commit is contained in:
parent
11885a3254
commit
c17e3b20c8
32 changed files with 540 additions and 199 deletions
222
build.js
222
build.js
|
@ -7,28 +7,28 @@ var pkg = require('./package.json');
|
|||
|
||||
// main directories
|
||||
dir = {
|
||||
base: __dirname + '/',
|
||||
lib: __dirname + '/lib/',
|
||||
source: './src/',
|
||||
dest: './build/'
|
||||
base: __dirname + '/',
|
||||
lib: __dirname + '/lib/',
|
||||
source: './src/',
|
||||
dest: './build/'
|
||||
};
|
||||
|
||||
siteMeta = {
|
||||
devBuild: devBuild,
|
||||
version: pkg.version,
|
||||
name: 'dashdevs-suite',
|
||||
desc: 'dashdevs-suite metalsmith website',
|
||||
author: 'dashdevs',
|
||||
contact: 'https://chat.dashdevs.org',
|
||||
domain: devBuild ? 'http://127.0.0.1' : 'https://dashdev-suite.github.io', // set domain
|
||||
rootpath: devBuild ? null : '/dashdev-website/build/' // set absolute path (null for relative)
|
||||
devBuild: devBuild,
|
||||
version: pkg.version,
|
||||
name: 'dashdevs-suite',
|
||||
desc: 'dashdevs-suite metalsmith website',
|
||||
author: 'dashdevs',
|
||||
contact: 'https://chat.dashdevs.org',
|
||||
domain: devBuild ? 'http://127.0.0.1' : 'https://dashdev-suite.github.io', // set domain
|
||||
rootpath: devBuild ? null : '/dashdev-website/build/' // set absolute path (null for relative)
|
||||
};
|
||||
|
||||
templateConfig = {
|
||||
engine: 'handlebars',
|
||||
directory: 'template/',
|
||||
partials: 'partials/',
|
||||
default: 'page.html'
|
||||
engine: 'handlebars',
|
||||
directory: 'template/',
|
||||
partials: 'partials/',
|
||||
default: 'page.html'
|
||||
};
|
||||
|
||||
// metalsmith
|
||||
|
@ -62,103 +62,115 @@ console.log((devBuild ? 'Development' : 'Production'), 'build, version', pkg.ver
|
|||
|
||||
// instantiate
|
||||
var metalsmith = Metalsmith(__dirname)
|
||||
.clean(true) // clean folder before a production build
|
||||
.source(dir.source + 'html/') // source folder (src/)
|
||||
.destination(dir.dest) // build folder (build/)
|
||||
.metadata(siteMeta) // add meta data to every page
|
||||
.use(publish()) // draft, private, future-dated
|
||||
.use(discoverPartials({ // needed for markdownPrecompiler
|
||||
directory: 'partials',
|
||||
pattern: /\.hbs$/ // original partials .html but exactly these parameters work
|
||||
}))
|
||||
// .use(json_to_files({
|
||||
// source_path: './box/'
|
||||
// }))
|
||||
.use(paths())
|
||||
.use(setdate()) // set date on every page if not set in front-matter
|
||||
.use(collections({ // determine page collection/taxonomy
|
||||
page: {
|
||||
pattern: '**/index.*',
|
||||
sortBy: 'priority',
|
||||
reverse: true,
|
||||
refer: false
|
||||
},
|
||||
start: {
|
||||
pattern: 'start/**/*',
|
||||
sortBy: 'priority',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
metadata: {
|
||||
layout: './../src/layouts/article.hbs' // default is <root>/layouts
|
||||
}
|
||||
},
|
||||
article: {
|
||||
pattern: 'article/**/*',
|
||||
sortBy: 'date',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
limit: 50,
|
||||
metadata: {
|
||||
layout: './../src/layouts/article.hbs'
|
||||
}
|
||||
}
|
||||
}))
|
||||
.use(markdownPrecompiler({ // convert {{> navmain}} in header.html
|
||||
engine: "handlebars",
|
||||
pattern: /\.md$/, // regex; no idea why .md works, check discoverPartials above
|
||||
partialsPath: './../partials',
|
||||
partials: ['navmain', 'navsub', 'footer', 'header', 'meta', 'pagelist']
|
||||
}))
|
||||
.use(markdown()) // convert markdown
|
||||
.use(permalinks({ // generate permalinks
|
||||
pattern: ':mainCollection/:title'
|
||||
}))
|
||||
.use(wordcount({ // word count
|
||||
raw: true
|
||||
}))
|
||||
.use(moremeta()) // determine root paths and navigation, TODO check remove
|
||||
// .use(inplace({
|
||||
// //engineOptions: {},
|
||||
// pattern: `partials.hbs/**`
|
||||
// }))
|
||||
.use(layouts({
|
||||
//engineOptions: {},
|
||||
pattern: `**/index.*`,
|
||||
default: './../src/layouts/page.hbs'
|
||||
}))
|
||||
// .use(layouts({
|
||||
// //engineOptions: {},
|
||||
// pattern: `article/**`,
|
||||
// default: 'article.hbs'
|
||||
// }))
|
||||
.clean(true) // clean folder before a production build
|
||||
.source(dir.source + 'html/') // source folder (src/)
|
||||
.destination(dir.dest) // build folder (build/)
|
||||
.metadata(siteMeta) // add meta data to every page
|
||||
.use(publish()) // draft, private, future-dated
|
||||
.use(discoverPartials({ // needed for markdownPrecompiler
|
||||
directory: 'partials',
|
||||
pattern: /\.hbs$/ // original partials .html but exactly these parameters work
|
||||
}))
|
||||
// .use(json_to_files({
|
||||
// source_path: './box/'
|
||||
// }))
|
||||
.use(paths())
|
||||
.use(setdate()) // set date on every page if not set in front-matter
|
||||
.use(collections({ // determine page collection/taxonomy
|
||||
page: {
|
||||
pattern: '**/index.*',
|
||||
sortBy: 'priority',
|
||||
reverse: true,
|
||||
refer: false
|
||||
},
|
||||
docs: {
|
||||
pattern: 'docs/**/*',
|
||||
sortBy: 'priority',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
metadata: {
|
||||
layout: './../src/layouts/article.hbs' // default is <root>/layouts
|
||||
}
|
||||
},
|
||||
article: {
|
||||
pattern: 'article/**/*',
|
||||
sortBy: 'date',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
limit: 50,
|
||||
metadata: {
|
||||
layout: './../src/layouts/article.hbs'
|
||||
}
|
||||
},
|
||||
tutorials: {
|
||||
pattern: 'tutorials/**/*',
|
||||
sortBy: 'priority',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
limit: 50,
|
||||
},
|
||||
boxes: {
|
||||
pattern: 'boxes/**/*',
|
||||
sortBy: 'date',
|
||||
reverse: true,
|
||||
refer: true,
|
||||
limit: 50,
|
||||
}
|
||||
}))
|
||||
.use(markdownPrecompiler({ // convert {{> navmain}} in header.html
|
||||
engine: "handlebars",
|
||||
pattern: /\.md$/, // regex; no idea why .md works, check discoverPartials above
|
||||
partialsPath: './../partials',
|
||||
partials: ['navmain', 'navsub', 'footer', 'header', 'meta', 'pagelist']
|
||||
}))
|
||||
.use(markdown()) // convert markdown
|
||||
.use(permalinks({ // generate permalinks
|
||||
pattern: ':mainCollection/:title'
|
||||
}))
|
||||
.use(wordcount({ // word count
|
||||
raw: true
|
||||
}))
|
||||
.use(moremeta()) // determine root paths and navigation, TODO check remove
|
||||
// .use(inplace({
|
||||
// //engineOptions: {},
|
||||
// pattern: `partials.hbs/**`
|
||||
// }))
|
||||
.use(layouts({
|
||||
//engineOptions: {},
|
||||
pattern: `**/index.*`,
|
||||
default: './../src/layouts/page.hbs'
|
||||
}))
|
||||
// .use(layouts({
|
||||
// //engineOptions: {},
|
||||
// pattern: `article/**`,
|
||||
// default: 'article.hbs'
|
||||
// }))
|
||||
|
||||
if (htmlmin) metalsmith.use(htmlmin()); // minify production HTML
|
||||
|
||||
if (debug) metalsmith.use(debug()); // output page debugging information
|
||||
|
||||
if (browsersync) metalsmith.use(browsersync({ // start test server
|
||||
server: dir.dest,
|
||||
files: [dir.source + '**/*']
|
||||
server: dir.dest,
|
||||
files: [dir.source + '**/*']
|
||||
}));
|
||||
|
||||
metalsmith
|
||||
.use(sitemap({ // generate sitemap.xml
|
||||
hostname: siteMeta.domain + (siteMeta.rootpath || ''),
|
||||
omitIndex: true // replace any paths ending in index.html with ''. Useful when you're using metalsmith-permalinks.
|
||||
}))
|
||||
.use(rssfeed({ // generate RSS feed for articles
|
||||
collection: 'article',
|
||||
site_url: siteMeta.domain + (siteMeta.rootpath || ''),
|
||||
title: siteMeta.name,
|
||||
description: siteMeta.desc
|
||||
}))
|
||||
.use(assets({ // copy assets: CSS, images etc.
|
||||
source: dir.source + 'assets/',
|
||||
destination: './'
|
||||
}))
|
||||
.use(sitemap({ // generate sitemap.xml
|
||||
hostname: siteMeta.domain + (siteMeta.rootpath || ''),
|
||||
omitIndex: true // replace any paths ending in index.html with ''. Useful when you're using metalsmith-permalinks.
|
||||
}))
|
||||
.use(rssfeed({ // generate RSS feed for articles
|
||||
collection: 'article',
|
||||
site_url: siteMeta.domain + (siteMeta.rootpath || ''),
|
||||
title: siteMeta.name,
|
||||
description: siteMeta.desc
|
||||
}))
|
||||
.use(assets({ // copy assets: CSS, images etc.
|
||||
source: dir.source + 'assets/',
|
||||
destination: './'
|
||||
}))
|
||||
|
||||
.build(function (err) {
|
||||
.build(function(err) {
|
||||
if (err) throw err;
|
||||
});
|
||||
|
||||
|
||||
});
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/">Start</a>
|
||||
<a href="../../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/" class="active">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -64,7 +70,7 @@
|
|||
<a href="../../article/gulp/">Gulp</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Future publication</strong>
|
||||
<a href="../../article/future/">Future publication</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -106,6 +112,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/">Start</a>
|
||||
<a href="../../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/" class="active">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -58,7 +64,7 @@
|
|||
<a href="../../article/usage/">Usage options</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Gotchas</strong>
|
||||
<a href="../../article/gotchas/">Gotchas</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/gulp/">Gulp</a>
|
||||
|
@ -115,6 +121,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/">Start</a>
|
||||
<a href="../../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/" class="active">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -61,7 +67,7 @@
|
|||
<a href="../../article/gotchas/">Gotchas</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Gulp</strong>
|
||||
<a href="../../article/gulp/">Gulp</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/future/">Future publication</a>
|
||||
|
@ -132,6 +138,8 @@ gulp.task('html', function() {
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/">Start</a>
|
||||
<a href="../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../article/" class="active">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -134,6 +140,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/">Start</a>
|
||||
<a href="../../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/" class="active">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,7 +61,7 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<strong>Usage options</strong>
|
||||
<a href="../../article/usage/">Usage options</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/gotchas/">Gotchas</a>
|
||||
|
@ -116,6 +122,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
|
84
build/boxes/index.html
Normal file
84
build/boxes/index.html
Normal file
|
@ -0,0 +1,84 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>boxes - dashdevs-suite</title>
|
||||
|
||||
|
||||
<meta name="HandheldFriendly" content="true">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width,shrink-to-fit=no,user-scalable=no,initial-scale=1,minimum-scale=1,minimal-ui">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<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="../css/styles.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<p class="logo"><a href="../">dashdevs-suite</a></p>
|
||||
<!-- main navigation -->
|
||||
<nav class="nav main">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../boxes/" class="active">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../contact/">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
<div class="content">
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<h1>boxes</h1>
|
||||
|
||||
<p>This section provides an overview of core code and concepts.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- <footer>
|
||||
|
||||
|
||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer> -->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/">Start</a>
|
||||
<a href="../docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../contact/" class="active">Contact</a>
|
||||
</li>
|
||||
|
@ -70,6 +76,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer> -->
|
||||
|
||||
</body>
|
||||
|
|
|
@ -366,7 +366,7 @@ footer a:hover {
|
|||
}
|
||||
main {
|
||||
/* global template */
|
||||
position: static;
|
||||
/* position: static; */
|
||||
/* margin-top: 60px; */
|
||||
/* min-height: 100%; */
|
||||
/* margin: 0px 0px 0px 0px; */
|
||||
|
@ -378,13 +378,14 @@ footer a:hover {
|
|||
/* article template */
|
||||
/* CHECK What does flex do?? */
|
||||
/* display: flex; */
|
||||
/* justify-content: center; */
|
||||
margin-left: 310px;
|
||||
}
|
||||
.subpages article {
|
||||
/* article template */
|
||||
/* flex: 1 1 70%; */
|
||||
/* min-width for text content, eg "next: xxx" */
|
||||
/* min-width: 100%; */
|
||||
min-width: 100%;
|
||||
}
|
||||
.subpages .nav.sub {
|
||||
/* article template */
|
||||
|
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
<a href="../../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../../start/installation/">Installation</a>
|
||||
<a href="../../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Build</strong>
|
||||
<a href="../../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/site-files/">Site files</a>
|
||||
<a href="../../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/page-definitions/">Page definitions</a>
|
||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/plugins/">Custom plugins</a>
|
||||
<a href="../../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -93,10 +99,10 @@
|
|||
<nav class="nav page">
|
||||
<ul>
|
||||
|
||||
<li><a href="../../start/installation/" class="back">« back: Installation</a></li>
|
||||
<li><a href="../../docs/installation/" class="back">« back: Installation</a></li>
|
||||
</p>
|
||||
|
||||
<li><a href="../../start/site-files/" class="next">next: Site files »</a></li>
|
||||
<li><a href="../../docs/site-files/" class="next">next: Site files »</a></li>
|
||||
</p>
|
||||
|
||||
</ul>
|
||||
|
@ -115,6 +121,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Start - dashdevs-suite</title>
|
||||
<title>docs - dashdevs-suite</title>
|
||||
|
||||
|
||||
<meta name="HandheldFriendly" content="true">
|
||||
|
@ -30,11 +30,17 @@
|
|||
<a href="../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/" class="active">Start</a>
|
||||
<a href="../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../start/installation/">Installation</a>
|
||||
<a href="../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/build/">Build</a>
|
||||
<a href="../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/site-files/">Site files</a>
|
||||
<a href="../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/page-definitions/">Page definitions</a>
|
||||
<a href="../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/plugins/">Custom plugins</a>
|
||||
<a href="../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -76,7 +82,7 @@
|
|||
|
||||
<article>
|
||||
|
||||
<h1>Start</h1>
|
||||
<h1>docs</h1>
|
||||
|
||||
|
||||
<p>This section provides an overview of core code and concepts.</p>
|
||||
|
@ -86,7 +92,7 @@
|
|||
<ul class="pagelist">
|
||||
|
||||
<li>
|
||||
<a href="../start/installation/">
|
||||
<a href="../docs/installation/">
|
||||
|
||||
<h2>Installation</h2>
|
||||
<p class="articleinfo">2 March 2020</p>
|
||||
|
@ -95,7 +101,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/build/">
|
||||
<a href="../docs/build/">
|
||||
|
||||
<h2>Build</h2>
|
||||
<p class="articleinfo">3 March 2020</p>
|
||||
|
@ -104,7 +110,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/site-files/">
|
||||
<a href="../docs/site-files/">
|
||||
|
||||
<h2>Site files</h2>
|
||||
<p class="articleinfo">26 February 2020</p>
|
||||
|
@ -113,7 +119,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/page-definitions/">
|
||||
<a href="../docs/page-definitions/">
|
||||
|
||||
<h2>Page definitions</h2>
|
||||
<p class="articleinfo">3 March 2020</p>
|
||||
|
@ -122,7 +128,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../start/plugins/">
|
||||
<a href="../docs/plugins/">
|
||||
|
||||
<h2>Custom plugins</h2>
|
||||
<p class="articleinfo">2 March 2020</p>
|
||||
|
@ -146,6 +152,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
<a href="../../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<strong>Installation</strong>
|
||||
<a href="../../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/build/">Build</a>
|
||||
<a href="../../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/site-files/">Site files</a>
|
||||
<a href="../../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/page-definitions/">Page definitions</a>
|
||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/plugins/">Custom plugins</a>
|
||||
<a href="../../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -93,10 +99,10 @@
|
|||
<nav class="nav page">
|
||||
<ul>
|
||||
|
||||
<li><a href="../../start/" class="back">« back: Start</a></li>
|
||||
<li><a href="../../docs/" class="back">« back: docs</a></li>
|
||||
</p>
|
||||
|
||||
<li><a href="../../start/build/" class="next">next: Build »</a></li>
|
||||
<li><a href="../../docs/build/" class="next">next: Build »</a></li>
|
||||
</p>
|
||||
|
||||
</ul>
|
||||
|
@ -115,6 +121,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
<a href="../../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../../start/installation/">Installation</a>
|
||||
<a href="../../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/build/">Build</a>
|
||||
<a href="../../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/site-files/">Site files</a>
|
||||
<a href="../../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Page definitions</strong>
|
||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/plugins/">Custom plugins</a>
|
||||
<a href="../../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -107,10 +113,10 @@ date: 2016-06-01
|
|||
<nav class="nav page">
|
||||
<ul>
|
||||
|
||||
<li><a href="../../start/site-files/" class="back">« back: Site files</a></li>
|
||||
<li><a href="../../docs/site-files/" class="back">« back: Site files</a></li>
|
||||
</p>
|
||||
|
||||
<li><a href="../../start/plugins/" class="next">next: Custom plugins »</a></li>
|
||||
<li><a href="../../docs/plugins/" class="next">next: Custom plugins »</a></li>
|
||||
</p>
|
||||
|
||||
</ul>
|
||||
|
@ -129,6 +135,8 @@ date: 2016-06-01
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
<a href="../../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../../start/installation/">Installation</a>
|
||||
<a href="../../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/build/">Build</a>
|
||||
<a href="../../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/site-files/">Site files</a>
|
||||
<a href="../../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/page-definitions/">Page definitions</a>
|
||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Custom plugins</strong>
|
||||
<a href="../../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -95,7 +101,7 @@
|
|||
<nav class="nav page">
|
||||
<ul>
|
||||
|
||||
<li><a href="../../start/page-definitions/" class="back">« back: Page definitions</a></li>
|
||||
<li><a href="../../docs/page-definitions/" class="back">« back: Page definitions</a></li>
|
||||
</p>
|
||||
|
||||
|
||||
|
@ -115,6 +121,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -30,11 +30,17 @@
|
|||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
<a href="../../docs/" class="active">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -55,19 +61,19 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../../start/installation/">Installation</a>
|
||||
<a href="../../docs/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/build/">Build</a>
|
||||
<a href="../../docs/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Site files</strong>
|
||||
<a href="../../docs/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/page-definitions/">Page definitions</a>
|
||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/plugins/">Custom plugins</a>
|
||||
<a href="../../docs/plugins/">Custom plugins</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -95,10 +101,10 @@
|
|||
<nav class="nav page">
|
||||
<ul>
|
||||
|
||||
<li><a href="../../start/build/" class="back">« back: Build</a></li>
|
||||
<li><a href="../../docs/build/" class="back">« back: Build</a></li>
|
||||
</p>
|
||||
|
||||
<li><a href="../../start/page-definitions/" class="next">next: Page definitions »</a></li>
|
||||
<li><a href="../../docs/page-definitions/" class="next">next: Page definitions »</a></li>
|
||||
</p>
|
||||
|
||||
</ul>
|
||||
|
@ -117,6 +123,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
|
|
@ -30,11 +30,17 @@
|
|||
<a href="" class="active">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="start/">Start</a>
|
||||
<a href="docs/">docs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="tutorials/">tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="boxes/">boxes</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="contact/">Contact</a>
|
||||
</li>
|
||||
|
@ -65,7 +71,7 @@
|
|||
<li>application prototypes</li>
|
||||
<li>build tools or project scaffolding</li>
|
||||
</ul>
|
||||
<p><a href="start/">Get started…</a></p>
|
||||
<p><a href="docs/">Get started…</a></p>
|
||||
|
||||
|
||||
</article>
|
||||
|
@ -80,6 +86,8 @@
|
|||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
</footer> -->
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[dashdevs-suite]]></title><description><![CDATA[dashdevs-suite metalsmith website]]></description><link>http://127.0.0.1</link><generator>metalsmith-feed</generator><lastBuildDate>Fri, 06 Mar 2020 14:08:14 GMT</lastBuildDate><atom:link href="http://127.0.0.1/rss.xml" rel="self" type="application/rss+xml"/><item><title><![CDATA[Articles]]></title><description><![CDATA[<!DOCTYPE html>
|
||||
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[dashdevs-suite]]></title><description><![CDATA[dashdevs-suite metalsmith website]]></description><link>http://127.0.0.1</link><generator>metalsmith-feed</generator><lastBuildDate>Fri, 06 Mar 2020 18:42:28 GMT</lastBuildDate><atom:link href="http://127.0.0.1/rss.xml" rel="self" type="application/rss+xml"/><item><title><![CDATA[Articles]]></title><description><
|
||||
[Get started…]({{ root }}docs/)
|
||||
|
|
6
src/html/tutorials/index.md
Normal file
6
src/html/tutorials/index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: tutorials
|
||||
priority: 0.7
|
||||
---
|
||||
|
||||
This section provides an overview of core code and concepts.
|
|
@ -1,12 +1,12 @@
|
|||
<footer>
|
||||
|
||||
{{! handlebars mustaches comment below }}
|
||||
{{!-- handlebars mustaches comment below --}}
|
||||
|
||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
||||
|
||||
{{!--
|
||||
<p>By <a href="{{ contact }}">{{ author }}</a> and featured on <a href="http://www.dashdevs.org/">DashDevs.org</a></p>
|
||||
<p class="siteinfo">{{#if devBuild}}Development{{else}}Production{{/if}} build, version {{ version }}, {{ template }} template</p>
|
||||
}} --}}
|
||||
|
||||
{{!-- <p>By <a href="{{ contact }}">{{ author }}</a> and featured on <a href="http://www.dashdevs.org/">DashDevs.org</a></p>
|
||||
<p class="siteinfo">{{#if devBuild}}Development{{else}}Production{{/if}} build, version {{ version }}, {{ template }} template</p> --}}
|
||||
|
||||
|
||||
</footer>
|
|
@ -7,7 +7,8 @@
|
|||
{{#each navsub}}
|
||||
<li>
|
||||
{{#if active}}
|
||||
<strong>{{title}}</strong>
|
||||
{{!-- <strong>{{title}}</strong> --}}
|
||||
<a href="{{path}}">{{title}}</a>
|
||||
{{else}}
|
||||
<a href="{{path}}">{{title}}</a>
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue