mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-27 06:46:09 +00:00
initial commit
This commit is contained in:
commit
9169024ff0
60 changed files with 8596 additions and 0 deletions
118
build/start/plugins/index.html
Normal file
118
build/start/plugins/index.html
Normal file
|
@ -0,0 +1,118 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Custom plugins - dashdev-website</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>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<p class="logo"><a href="../../">dashdev-website</a></p>
|
||||
<!-- main navigation -->
|
||||
<nav class="nav main">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="../../">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/" class="active">Start</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../article/">Articles</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../contact/">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<main class="subpages">
|
||||
|
||||
<div class="content">
|
||||
|
||||
<article>
|
||||
|
||||
<h1>Custom plugins</h1>
|
||||
|
||||
|
||||
<p class="articleinfo">Published , words, -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="../../start/page-definitions/" class="back">« back: Page definitions</a></li></p>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
<!-- sub navigation -->
|
||||
<nav class="nav sub">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="../../start/installation/">Installation</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/build/">Build</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/site-files/">Site files</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../../start/page-definitions/">Page definitions</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Custom plugins</strong>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
|
||||
<p>By <a href="https://chat.dashdevs.org">dashdevs</a> and featured on <a href="http://www.dashdevs.org/">DashDevs.org</a></p>
|
||||
|
||||
<p class="siteinfo">Development build, version 1.0.0, article template</p>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue