From 53a9f69ac140d498e5bb6a014b0b8182fc392388 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Fri, 30 Oct 2020 07:54:28 +0100 Subject: [PATCH] add static file copy --- Makefile | 14 ++++++++++++-- pages/index.md | 19 ++++++++++++++----- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index bb26ae8..7b2844a 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,13 @@ PAGESDIR ?= pages DATADIR ?= data TEMPLATE ?= $(DATADIR)/template.html +STATICEXTS := yaml + PAGES != find $(PAGESDIR) -name '*.md' -OUTPUTPAGES = $(patsubst $(PAGESDIR)/%.md,$(BUILDDIR)/%.html,$(PAGES)) +STATICS != parallel find $(PAGESDIR) -name '\*.{}' ::: $(STATICEXTS) +OUTPUTPAGES = \ + $(patsubst $(PAGESDIR)/%.md,$(BUILDDIR)/%.html,$(PAGES)) \ + $(patsubst $(PAGESDIR)/%,$(BUILDDIR)/%,$(STATICS)) STYLE != find style -type f OUTPUTSTYLE = $(patsubst %,$(BUILDDIR)/%,$(STYLE)) @@ -23,7 +28,12 @@ build: $(OUTPUT) $(BUILDDIR)/%.html: $(PAGESDIR)/%.md $(TEMPLATE) $(LANGFILTER) mkdir -p $(dir $@) - pandoc -s --toc --template $(TEMPLATE) --filter $(LANGFILTER) -o $@ $< + pandoc -s --toc --template $(TEMPLATE) \ + --filter $(LANGFILTER) -o $@ $< + +$(BUILDDIR)/%: $(PAGESDIR)/% + mkdir -p $(dir $@) + cp $< $@ $(BUILDDIR)/%: % mkdir -p $(dir $@) diff --git a/pages/index.md b/pages/index.md index 8bc2c2f..d56c7e4 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,11 +1,20 @@ --- -title: hello +title: Conlangs +toc: false ... -# bleep +[Yeah](https://en.wikipedia.org/wiki/Constructed_language). -yes +The ones I have anything written up for, in order of detail, and with a couple +of buzzwords each: -# bloop +* **[Lántas]** `/laːntas/`, which is the language which has gone longest + without me abandoning it. It has lots of noun cases and syllabic consonants, + and is written with an abugida. -yes!!! +* **[Tengan]**, or `{tté ŋa}` `/tʼɛ˥ ŋɑ˩/`, with an isolating grammar, click + consonants, evidentiality, and a Hangul-ripoff for the script. + +* **[Zalajmkwély]** `/zɑlɑɪmkweˈliː/`, which was originally from a "design + a conlang in an hour" challenge thing but then I got kind of attached to it. + It has nine genders and vowel harmony.