reset default config after meta on each page

This commit is contained in:
Jaromil 2017-05-20 15:58:33 +02:00
parent 7a45fdbf3c
commit 5e4f8b006f
1 changed files with 2 additions and 1 deletions

3
render
View File

@ -2,7 +2,7 @@
#
# WebNomad, your slick and static website publisher
#
# Copyright (C) 2012-2015 Denis Roio <jaromil@dyne.org>
# Copyright (C) 2012-2017 Denis Roio <jaromil@dyne.org>
#
# This source code is free software; you can redistribute it and/or
# modify it under the terms of the GNU Public License as published by
@ -351,6 +351,7 @@ strip_meta() {
# read metadata on each file which can change global settings
source_meta() {
# source the <meta> contents
source config.zsh
ztmp
awk 'BEGIN { meta=0; }
/^<meta>/ { meta=1; next }