mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-27 06:46:09 +00:00
chore: remove build dir from master
This commit is contained in:
parent
42d5cdca2c
commit
866ee039c1
24 changed files with 0 additions and 4595 deletions
|
@ -1,103 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Future publication - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="This article will be published after 1 March, 2016." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../article/usage/">Usage options</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Future publication</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 1 March 2016, 16 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>This article will only appear if the site is built is run after 1 March, 2016.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,110 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Gotchas - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="Issues and workarounds when using Metalsmith." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../article/usage/">Usage options</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Gotchas</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 10 March 2016, 127 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Not everything is necessarily straight-forward in the Metalsmith world…</p>
|
|
||||||
<h2 id="incompatible-plugins">Incompatible plugins</h2>
|
|
||||||
<p>Some plugins clash with another. For example, <a href="https://github.com/radiovisual/metalsmith-rootpath">metalsmith-rootpath</a> which calculates relative roots does not play nicely with <a href="https://github.com/segmentio/metalsmith-permalinks">metalsmith-permalinks</a> which creates custom folder structures.</p>
|
|
||||||
<p><em>Note: <code>lib/metalsmith-moremeta</code> in this project sets a correct <code>root</code> variable whether permalinks are used or not.</em></p>
|
|
||||||
<h2 id="plugin-order-can-be-critical">Plugin order can be critical</h2>
|
|
||||||
<p>One plugins may depend on another or conflict if placed the wrong way around. For example, the RSS-generating <a href="https://github.com/hurrymaplelad/metalsmith-feed">metalsmith-feed</a> plugin must be called after <a href="https://github.com/superwolff/metalsmith-layouts">metalsmith-layouts</a> to ensure <code>rss.xml</code> is not generated within a page template.</p>
|
|
||||||
<h2 id="browsersync-build-issues">Browsersync build issues</h2>
|
|
||||||
<p>When <a href="https://www.browsersync.io/">Browsersync</a> is running and files are edited, collections are re-parsed but the old data remains. This can cause menus and next/back links to be incorrect. To fix this, stop and restart the build.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,127 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Gulp - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="Do you need Gulp? Can it be integrated with Metalsmith?" />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../article/usage/">Usage options</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Gulp</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 2 March 2016, 141 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Metalsmith has plugins for <a href="https://github.com/stevenschobert/metalsmith-sass">CSS pre-processing with Sass</a>, <a href="https://github.com/ahmadnassri/metalsmith-imagemin">image minification</a>, <a href="https://github.com/aymericbeaumet/metalsmith-concat">file concatenation</a>, <a href="https://github.com/ksmithut/metalsmith-uglify">uglification</a> and more. The build code will be familiar to anyone with <a href="http://gulpjs.com/">Gulp</a> experience.</p>
|
|
||||||
<h2 id="do-you-still-need-gulp">Do you still need Gulp?</h2>
|
|
||||||
<p>Metalsmith is often enough for simpler workflows. However, Gulp has a more extensive range of plugins and permits complex build activities such as linting and <a href="http://postcss.org/">PostCSS</a> processing with <a href="https://github.com/postcss/autoprefixer">auto-prefixer</a>.</p>
|
|
||||||
<p>Metalsmith can be used within any Gulp task, e.g.</p>
|
|
||||||
<pre><code>var
|
|
||||||
gulp = require('gulp'),
|
|
||||||
metalsmith = require('metalsmith'),
|
|
||||||
publish = require('metalsmith-publish'),
|
|
||||||
markdown = require('metalsmith-markdown');
|
|
||||||
|
|
||||||
// build HTML files using Metalsmith
|
|
||||||
gulp.task('html', function() {
|
|
||||||
|
|
||||||
var ms = metalsmith(dir.base)
|
|
||||||
.clean(false)
|
|
||||||
.source('src/html/')
|
|
||||||
.destination('build')
|
|
||||||
.use(publish())
|
|
||||||
.use(markdown())
|
|
||||||
.build(function(err) {
|
|
||||||
if (err) throw err;
|
|
||||||
});
|
|
||||||
|
|
||||||
});</code></pre><p>Further Gulp tasks can then be added. Note <code>.clean(false)</code> ensures Metalsmith never wipes the build folder when other tasks are active.</p>
|
|
||||||
<p>There are a number of Gulp/Metalsmith integration plugins although they are rarely necessary.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,106 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Articles - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="A set of articles published on this site." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../article/usage/">Usage options</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Articles</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p>A selection of articles is available in this section.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul class="pagelist">
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../article/usage/">
|
|
||||||
|
|
||||||
<h2>Usage options</h2>
|
|
||||||
<p class="articleinfo">14 March 2016</p>
|
|
||||||
|
|
||||||
<p>What type of project could benefit from Metalsmith?</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,115 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Usage options - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="What type of project could benefit from Metalsmith?" />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../article/usage/">Usage options</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Usage options</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 14 March 2016, 47 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Metalsmith could be used to create any number of resources, including:</p>
|
|
||||||
<ul>
|
|
||||||
<li>a fast static website with minimal server-side requirements</li>
|
|
||||||
<li>technical documentation</li>
|
|
||||||
<li>an eBook</li>
|
|
||||||
<li>application prototypes</li>
|
|
||||||
<li>build tools or project scaffolding</li>
|
|
||||||
</ul>
|
|
||||||
<p>The markdown files can be converted to other files types using plugins such as <a href="https://github.com/arve0/metalsmith-pandoc">metalsmith-pandoc</a> or <a href="https://github.com/jjclark1982/metalsmith-pdf">metalsmith-pdf</a>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../article/" class="back">« back: Articles</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../article/usage/" class="next">next: Usage options »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,78 +0,0 @@
|
||||||
<!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>
|
|
||||||
<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>
|
|
||||||
</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>
|
|
|
@ -1,79 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Contact - 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>
|
|
||||||
<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/">boxes</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../contact/" class="active">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Contact</h1>
|
|
||||||
|
|
||||||
<p>Any questions?</p>
|
|
||||||
<p>Contact us at <a href="">Dash DApp Developers Discord</a></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>
|
|
|
@ -1,420 +0,0 @@
|
||||||
/* basic page styles */
|
|
||||||
|
|
||||||
|
|
||||||
/* current default: 111833 - blue-weak: #1f2833; brown-red: 33111b;
|
|
||||||
|
|
||||||
|
|
||||||
/* light yellow: FBF7EB, new lighter: #f7f2ea */
|
|
||||||
|
|
||||||
|
|
||||||
/* light grey: #c5c6c7*/
|
|
||||||
|
|
||||||
|
|
||||||
/* neon green: #66FCF1 */
|
|
||||||
|
|
||||||
*,
|
|
||||||
*:before,
|
|
||||||
*:after {
|
|
||||||
box-sizing: inherit;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
font-size: 1.05em;
|
|
||||||
line-height: 1.5;
|
|
||||||
box-sizing: border-box;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
article,
|
|
||||||
aside,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
main,
|
|
||||||
nav,
|
|
||||||
section,
|
|
||||||
summary {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
.logo {
|
|
||||||
/* font-family: arial, helvetica, free-sans, sans-serif; */
|
|
||||||
font-family: 'Oswald', sans-serif;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 1.6em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.4em;
|
|
||||||
margin: 2rem 0 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0 0 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul,
|
|
||||||
ol {
|
|
||||||
margin: 1em 0 1.5em 3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
margin: 0 0 0.75em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
float: right;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
max-width: 50%;
|
|
||||||
margin: 0 0 1em 1em;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
/* font-size: 1.05em; */
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 0.2em 0.4em;
|
|
||||||
margin: 1em 0 1.5em 3em;
|
|
||||||
background-color: #111833;
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
font-size: 0.88em;
|
|
||||||
font-family: Consolas, Menlo, "DejaVu Mono", monospace;
|
|
||||||
color: #E831C1;
|
|
||||||
background-color: #ddd7d4;
|
|
||||||
/* CHECK needed for bold, pre not enough!? */
|
|
||||||
font-weight: bold;
|
|
||||||
/* makes single code border round */
|
|
||||||
border-radius: 5px;
|
|
||||||
padding: 0 0.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
color: #eff5ef;
|
|
||||||
background-color: #111833;
|
|
||||||
padding-left: 8px;
|
|
||||||
line-height: 2.5;
|
|
||||||
font-size: 0.82em;
|
|
||||||
/* TODO make border round */
|
|
||||||
/* border-radius: 5px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link,
|
|
||||||
a:visited {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover,
|
|
||||||
a:active {
|
|
||||||
color: #c5c6c7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist {
|
|
||||||
list-style-type: none;
|
|
||||||
/* TODO: check what flex does here */
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin: 0;
|
|
||||||
line-height: 1.3;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist li {
|
|
||||||
flex: 1 1 45%;
|
|
||||||
margin: 0 1em 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist a {
|
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
outline: 0 none;
|
|
||||||
overflow: hidden;
|
|
||||||
/* color for links in pagelist type page eg "Installation" (1 from 3) */
|
|
||||||
color: #111833;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist a:hover,
|
|
||||||
.pagelist a:focus {
|
|
||||||
/* background-color: #5a14dd; */
|
|
||||||
border-color: rgb(238, 9, 150);
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist h2,
|
|
||||||
.pagelist p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagelist p {
|
|
||||||
color: #111833;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.articleinfo {
|
|
||||||
font-size: 0.8em;
|
|
||||||
/* currently date */
|
|
||||||
color: #111833;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* layout */
|
|
||||||
|
|
||||||
main {
|
|
||||||
/* for page and article template */
|
|
||||||
clear: both;
|
|
||||||
background-color: #fff;
|
|
||||||
background-color: #f7f2ea;
|
|
||||||
overflow: auto;
|
|
||||||
min-height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
/* min-height "influences" the content of navmain=header but it should exclude the <header>*/
|
|
||||||
/* CHECK min-width makes things too wide in the <section> area */
|
|
||||||
/* min-width: 100%; */
|
|
||||||
/* TODO: there must be bug in other place!
|
|
||||||
this is needed to remove scroll in header navigation, so its main navigation header!? */
|
|
||||||
/* min-height: 100%; */
|
|
||||||
/* overflow: auto; */
|
|
||||||
/* move font a little down */
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
/* this only applys to <section> while .content is also applied */
|
|
||||||
/* for page and article template */
|
|
||||||
/* Distance left, right 4em */
|
|
||||||
padding: 0 1em;
|
|
||||||
/* Distance top 2em for content */
|
|
||||||
padding-top: 2em;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
article a:link,
|
|
||||||
article a:visited,
|
|
||||||
article a:hover {
|
|
||||||
color: #2092bc;
|
|
||||||
}
|
|
||||||
|
|
||||||
article a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
background-color: #111833;
|
|
||||||
border-bottom: solid;
|
|
||||||
color: #66fcf1;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 7px 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
/* footer global */
|
|
||||||
clear: both;
|
|
||||||
background-color: #f7f2ea;
|
|
||||||
margin-top: 2em;
|
|
||||||
font-size: 0.90em;
|
|
||||||
padding: 1em;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer a:link,
|
|
||||||
footer a:visited,
|
|
||||||
footer a:hover {
|
|
||||||
color: #2092bc;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: 0.2em 0 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo a {
|
|
||||||
padding: 0.2em 0;
|
|
||||||
color: #66fcf1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* navigation */
|
|
||||||
|
|
||||||
.nav ul {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
list-style-type: none;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav li {
|
|
||||||
flex: 1 1 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav a,
|
|
||||||
.nav strong {
|
|
||||||
display: block;
|
|
||||||
text-align: left;
|
|
||||||
white-space: nowrap;
|
|
||||||
padding: 0.6em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav.main a {
|
|
||||||
color: #fff;
|
|
||||||
/* font-size: 1.6em; */
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: 'Oswald', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav a.active,
|
|
||||||
.nav strong {
|
|
||||||
background-color: #111833;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav a:hover {
|
|
||||||
color: #c5c6c7;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* this is the prev-next-link at bottom in articles */
|
|
||||||
|
|
||||||
.nav.page {
|
|
||||||
margin-top: 1.5em;
|
|
||||||
border-top: 1px solid #ccc;
|
|
||||||
border-bottom: 1px solid #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subpages .nav.sub {
|
|
||||||
background-color: #111833;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 16em) {
|
|
||||||
.nav li {
|
|
||||||
flex: 1 1 50%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
main > .content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1;
|
|
||||||
padding-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* styles.css | http://localhost:3000/css/styles.css */
|
|
||||||
|
|
||||||
@media (min-width: 50em) {
|
|
||||||
header {
|
|
||||||
/* header global */
|
|
||||||
position: fixed;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
height: 60px;
|
|
||||||
top: 0;
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
.nav.main {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: 20px;
|
|
||||||
}
|
|
||||||
.nav li {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
}
|
|
||||||
.nav.main li {
|
|
||||||
padding: 0 0.5em;
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
/* global template */
|
|
||||||
/* position: static; */
|
|
||||||
padding-top: 60px;
|
|
||||||
min-height: 100%;
|
|
||||||
/* margin: 0px 0px 0px 0px; */
|
|
||||||
/* padding: 3em 0em 2em 0em; */
|
|
||||||
/* overflow: auto; */
|
|
||||||
/* color: #66fcf1; */
|
|
||||||
}
|
|
||||||
.subpages .content {
|
|
||||||
/* 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%;
|
|
||||||
}
|
|
||||||
.subpages .nav.sub {
|
|
||||||
/* article template */
|
|
||||||
width: 310px;
|
|
||||||
position: fixed;
|
|
||||||
/* z-index: 1; */
|
|
||||||
top: 60px;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: scroll;
|
|
||||||
padding-top: 20px;
|
|
||||||
}
|
|
||||||
.nav.sub ul {
|
|
||||||
/* margin-top: 1em; */
|
|
||||||
flex-direction: column;
|
|
||||||
/* border above first link */
|
|
||||||
/* border-top: 1px solid rgb(185, 27, 27); */
|
|
||||||
}
|
|
||||||
.nav.sub li {
|
|
||||||
/* put smth around nav.sub links */
|
|
||||||
/* border-bottom: 1px solid rgb(58, 17, 17); */
|
|
||||||
}
|
|
||||||
.nav.sub a,
|
|
||||||
.nav.sub strong {
|
|
||||||
text-align: left;
|
|
||||||
padding-left: 0.75em;
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
font-size: 1.05em;
|
|
||||||
}
|
|
||||||
.nav.page a {
|
|
||||||
text-align: left;
|
|
||||||
padding-left: 0.5em;
|
|
||||||
padding-right: 0.5em;
|
|
||||||
}
|
|
||||||
.nav.page a.next {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
article {
|
|
||||||
padding-left: 4em;
|
|
||||||
padding-right: 4em;
|
|
||||||
}
|
|
||||||
}
|
|
123
build/docs/build/index.html
vendored
123
build/docs/build/index.html
vendored
|
@ -1,123 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Build - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="How to build the static site using Metalsmith." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Build</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 8 March 2020, 55 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>To build and launch the site in a test server using <a href="https://www.browsersync.io/">Browsersync</a>:</p>
|
|
||||||
<pre><code>npm start</code></pre><p>(Stop the server with <code>Ctrl+C</code>.)</p>
|
|
||||||
<p>To build the site for production and compress HTML files:</p>
|
|
||||||
<pre><code>npm run production</code></pre><p>The site is built in the <code>/build</code> folder.</p>
|
|
||||||
<p>Note you may want to change the <code>siteMeta.domain</code> and <code>siteMeta.rootpath</code> on lines 52 and 53 of <code>./build.js</code>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../docs/installation/" class="back">« back: Installation</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../docs/build/" class="next">next: Build »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,154 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>docs - 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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>docs</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p>This section provides an overview of core code and concepts.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul class="pagelist">
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../docs/installation/">
|
|
||||||
|
|
||||||
<h2>Installation</h2>
|
|
||||||
<p class="articleinfo">8 March 2020</p>
|
|
||||||
|
|
||||||
<p>How to install this demonstration code.</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/build/">
|
|
||||||
|
|
||||||
<h2>Build</h2>
|
|
||||||
<p class="articleinfo">8 March 2020</p>
|
|
||||||
|
|
||||||
<p>How to build the static site using Metalsmith.</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/site-files/">
|
|
||||||
|
|
||||||
<h2>Site files</h2>
|
|
||||||
<p class="articleinfo">8 March 2020</p>
|
|
||||||
|
|
||||||
<p>A description of the source files used to build a website</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/page-definitions/">
|
|
||||||
|
|
||||||
<h2>Page definitions</h2>
|
|
||||||
<p class="articleinfo">8 March 2020</p>
|
|
||||||
|
|
||||||
<p>How pages are defined in the source folder.</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../docs/plugins/">
|
|
||||||
|
|
||||||
<h2>Custom plugins</h2>
|
|
||||||
<p class="articleinfo">8 March 2020</p>
|
|
||||||
|
|
||||||
<p>The custom plugins used to create this website.</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,123 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Installation - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="How to install this demonstration code." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Installation</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 8 March 2020, 27 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Please ensure <a href="https://nodejs.org/">Node.js</a> and <a href="https://git-scm.com/">Git</a> are installed on your system.</p>
|
|
||||||
<p>Download the demonstration code and switch to directory:</p>
|
|
||||||
<p> git clone <a href="mailto:git@github.com">git@github.com</a>:dashdev-suite/dashdev-website.git
|
|
||||||
cd metalsmith-demo</p>
|
|
||||||
<p>Install dependencies:</p>
|
|
||||||
<pre><code>npm install</code></pre>
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../docs/" class="back">« back: docs</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../docs/installation/" class="next">next: Installation »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,137 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Page definitions - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="How pages are defined in the source folder." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Page definitions</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 8 March 2020, 194 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Each sub-folder in <code>src/html</code> is a website section. Pages named <code>index.md</code> are the default page in section. File paths are translated to permalinks, e.g.</p>
|
|
||||||
<pre><code>src/html/article/mypage.md</code></pre><p>is rendered to:</p>
|
|
||||||
<pre><code>build/article/mypage/index.html</code></pre><p>Pages use YAML front-matter defined at the top. This can be referenced in templates or during the build process, e.g.</p>
|
|
||||||
<pre><code>---
|
|
||||||
title: My page title
|
|
||||||
description: A description of this page for meta tags and page lists.
|
|
||||||
layout: page.html
|
|
||||||
priority: 0.9
|
|
||||||
publish: 2016-06-01
|
|
||||||
date: 2016-06-01
|
|
||||||
---</code></pre><p>All items are optional. Note:</p>
|
|
||||||
<ul>
|
|
||||||
<li><code>layout</code> defaults to <code>page.html</code> unless <code>metadata.layout</code> is defined for the page collection (see the <code>use(collections({ ... })</code> code in <code>build.js</code>).</li>
|
|
||||||
<li><code>priority</code> is a number between 0 (low) and 1 (high) which is used to order menus and define XML sitemaps.</li>
|
|
||||||
<li><code>publish</code> can be set <code>draft</code>, <code>private</code> or a future date to ensure it is not published until required.</li>
|
|
||||||
<li><code>date</code> is the date of the article. If not set, a future <code>publish</code> date or the file creation date is used.</li>
|
|
||||||
</ul>
|
|
||||||
<p>The page content is defined in markdown, HTML syntax or both below the front-matter section. The content can include <a href="http://handlebarsjs.com/">Handlebars</a> partials from the <code>src/partials</code> folder, e.g.</p>
|
|
||||||
<pre><code>{{> partialname }}</code></pre><p>where <code>partialname</code> is the partial filename without its <code>.html</code> extension.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../docs/site-files/" class="back">« back: Site files</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../docs/page-definitions/" class="next">next: Page definitions »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,125 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Custom plugins - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="The custom plugins used to create this website." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Custom plugins</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 8 March 2020, 77 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>The <code>build.js</code> file defines how the site is built using Metalsmith and various plugins.</p>
|
|
||||||
<p>Several custom plugins have been created specifically for this site:</p>
|
|
||||||
<ul>
|
|
||||||
<li><code>lib/metalsmith-debug.js</code>: output debugging information to the console.</li>
|
|
||||||
<li><code>lib/metalsmith-setdate.js</code>: ensure each page has a date. If a <code>date</code> is not defined in the page's front-matter, it is presumed to be the publish or file creation date.</li>
|
|
||||||
<li><code>lib/metalsmith-moremeta.js</code>: applies further metadata to each page including the root folder, a default layout, primary and secondary navigation.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../docs/page-definitions/" class="back">« back: Page definitions</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../docs/plugins/" class="next">next: Custom plugins »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,125 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Site files - dashdevs-suite</title>
|
|
||||||
<meta name="description" content="A description of the source files used to build a website" />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<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/" 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>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="subpages" >
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- sub navigation -->
|
|
||||||
<nav class="nav sub">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/installation/">Installation</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/build/">Build</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/site-files/">Site files</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/page-definitions/">Page definitions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../../docs/plugins/">Custom plugins</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>Site files</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p class="articleinfo">Published 8 March 2020, 57 words, 1-minute read</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>All files in the <code>src</code> folder can be edited:</p>
|
|
||||||
<ul>
|
|
||||||
<li>pages are created as markdown files in the <code>src/html</code> folder and sub-folders.</li>
|
|
||||||
<li>static assets such as CSS, JavaScript and image files are created in <code>src/assets</code>. These are copied without modification to <code>build/</code>.</li>
|
|
||||||
<li>page templates are defined in <code>src/template</code>.</li>
|
|
||||||
<li>reusable partials (chunks of HTML code) are declared in <code>src/partials</code>.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="nav page">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><a href="../../docs/build/" class="back">« back: Build</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<li><a href="../../docs/site-files/" class="next">next: Site files »</a></li>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Help make this page better. <a href="https://github.com/dashdev-suite/dashdev-website/tree/master/src">Edit here >></a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.5 KiB |
|
@ -1,89 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>dashdevs-suite</title>
|
|
||||||
<meta name="description" content="A static HTML-only website generated using Metalsmith.io." />
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<p class="logo"><a href="">dashdevs-suite</a></p>
|
|
||||||
<!-- main navigation -->
|
|
||||||
<nav class="nav main">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="" class="active">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/">boxes</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contact/">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
|
|
||||||
<p><a href="http://dash.org/"><img src="images/nodejs.png" alt="Node.js"></a></p>
|
|
||||||
<p>This is a static website generated using the Node.js-powered <strong><a href="http://metalsmith.io">Metalsmith</a></strong> and various published and custom plugins.</p>
|
|
||||||
<p>This is a demonstration rather than a recommended way to build a static site. Your requirements will be different. Please use any part of the code as you wish.</p>
|
|
||||||
<h2 id="where-could-you-use-metalsmith">Where could you use Metalsmith?</h2>
|
|
||||||
<p>Metalsmith could be used to create:</p>
|
|
||||||
<ul>
|
|
||||||
<li>a fast static website with minimal server-side requirements</li>
|
|
||||||
<li>technical documentation</li>
|
|
||||||
<li>an eBook</li>
|
|
||||||
<li>application prototypes</li>
|
|
||||||
<li>build tools or project scaffolding</li>
|
|
||||||
</ul>
|
|
||||||
<p><a href="docs/">Get started…</a></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>
|
|
2485
build/rss.xml
2485
build/rss.xml
File diff suppressed because it is too large
Load diff
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
|
||||||
<url> <loc>http://127.0.0.1/</loc> <priority>1.0</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/article/future/</loc> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/article/gotchas/</loc> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/article/</loc> <priority>0.8</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/article/usage/</loc> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/article/gulp/</loc> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/boxes/</loc> <priority>0.6</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/contact/</loc> <priority>0.5</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/build/</loc> <priority>0.5</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/</loc> <priority>0.9</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/installation/</loc> <priority>0.5</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/page-definitions/</loc> <priority>0.3</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/plugins/</loc> <priority>0.3</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/docs/site-files/</loc> <priority>0.4</priority> </url>
|
|
||||||
<url> <loc>http://127.0.0.1/tutorials/</loc> <priority>0.7</priority> </url>
|
|
||||||
</urlset>
|
|
|
@ -1,78 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>tutorials - 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>
|
|
||||||
<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/" class="active">tutorials</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../boxes/">boxes</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../contact/">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
|
|
||||||
<h1>tutorials</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>
|
|
Loading…
Add table
Add a link
Reference in a new issue