mirror of https://github.com/dyne/webnomad.git
reset default config after meta on each page
This commit is contained in:
parent
7a45fdbf3c
commit
5e4f8b006f
3
render
3
render
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue