Le site arthur.bebou.netlib.re - retour accueil
git clone git://bebou.netlib.re/arthur.bebou
Log | Files | Refs |
commit 33f61b7af6cdbc25a27635bce4eb9ee02595808d parent 1d7aa7d07d02f8adeda3b3077dda6ab0bc408722 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Fri, 24 May 2024 14:32:57 +0200 RĂ©diger un nouvel article plus rapidement Diffstat:
A | layouts/barearticle | | | 9 | +++++++++ |
A | newarticle | | | 7 | +++++++ |
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/layouts/barearticle b/layouts/barearticle @@ -0,0 +1,9 @@ +#! page +title: +author: +description: +publication: + +sectionmd: main + +endsection diff --git a/newarticle b/newarticle @@ -0,0 +1,7 @@ +#! /bin/sh + +read name +mkdir -p contents/${name:?'Faut un nom'} +cp layouts/barearticle contents/$name/index.sh +vim contents/$name/index.sh +