Jekyll Post by using webstorm file template


Categories: Jekyll
Tags: #Blog #Jekyll #Webstorm

  1. Open Preferences dialog in webstorm
    • Press ⌘ + , (command key and ‘,’)
  2. Search for ‘File and Code Templates’

  3. Click + image in Files tab in ‘File and Code Templates’
    • Enter ‘Jekyll Post’ in Name field
    • Enter ‘md’ in Extension field
    • Enter below in the template
---
layout: post
title: $title
date: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}:${SECOND} +0900
type: post
published: true
comments: true
categories: [$categories]
tags: [$tags]
---

참고:

Comments