Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

writr

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

writr - npm Package Compare versions

Comparing version 0.7.9 to 0.8.0

2

package.json
{
"name": "writr",
"version": "0.7.9",
"version": "0.8.0",
"description": "A Simple to Use Markdown Blog",

@@ -5,0 +5,0 @@ "main": "./dist/index",

@@ -59,2 +59,25 @@ ![Writr](logo.png)

## Template Partials
You can use template partials such as a header or footer by creating a folder in templates called `partials`. In there create a standard handlebars template file such as `header.hjs`. To reference it go to any of the main template files and include it like `{{> header}}`:
```html
<h1>Post</h1>
{{> header}}
<p>{{post.title}}</p>
<p>{{post.author}}</p>
<p>{{{post.body}}}</p>
<p>{{post.matter.featured_image}}</p>
<p>{{previousPost.id}}</p>
<p>{{nextPost.id}}</p>
...
```
## Different Layouts

@@ -118,3 +141,3 @@

---
title: 'Docula: Persistent Links and Styles!'
title: 'Docula: Persistent Links and Styles!'
tags:

@@ -124,3 +147,3 @@ - Github

- Docula
permalink: simple
permalink: date
date: 2017-03-07

@@ -132,2 +155,4 @@ layout: post2

The url will be: `/2017/03/07/docula-persistent-links-and-styles`
### Set it Globally

@@ -134,0 +159,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc