mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 22:34:27 -07:00
Made it possible to publish a draft post, we just prevent them from being available in the blog list.
This commit is contained in:
parent
3d7c660e22
commit
dddad52046
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: post
|
||||
status: draft
|
||||
published: false
|
||||
draft: true
|
||||
published: true
|
||||
title: The future of Greenshot for Windows
|
||||
tags:
|
||||
- windows
|
||||
|
|
|
@ -10,7 +10,7 @@ tags: []
|
|||
<div class="container-fluid">
|
||||
|
||||
<div class="col-md-7">
|
||||
{% for post in site.posts %}
|
||||
{% for post in site.posts %}{% unless post.draft %}
|
||||
<div class="panel panel-primary" id="blog_{{ forloop.index }}">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{ post.date | date: "%-d %b %Y" }}: {{ post.title }}</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue