summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:39:30 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:39:30 +0300
commitb15961aa8d091844352214bf42b72a3e6b054747 (patch)
treeb0739dfaf13651b2dc113f058dfec36a66a6f0e6
parentf95fff7f65116080a2bc8cb1676db6ad3f5ea653 (diff)
downloadvsvs-b15961aa8d091844352214bf42b72a3e6b054747.tar
vsvs-b15961aa8d091844352214bf42b72a3e6b054747.tar.xz
vsvs-b15961aa8d091844352214bf42b72a3e6b054747.zip
.
-rw-r--r--data/butterfly/content10
-rw-r--r--data/butterfly/title1
-rw-r--r--data/juniper10
-rw-r--r--data/licorice5
-rw-r--r--site/data/some8
-rw-r--r--titles.sh5
6 files changed, 31 insertions, 8 deletions
diff --git a/data/butterfly/content b/data/butterfly/content
new file mode 100644
index 0000000..5ecbc59
--- /dev/null
+++ b/data/butterfly/content
@@ -0,0 +1,10 @@
+Butterflies are insects in the macrolepidopteran clade
+Rhopalocera from the order Lepidoptera, which also includes moths.
+Adult butterflies have large, often brightly coloured wings,
+and conspicuous, fluttering flight.
+The group comprises the large superfamily Papilionoidea,
+which contains at least one former group,
+the skippers (formerly the superfamily "Hesperioidea"),
+and the most recent analyses suggest it also contains the moth-butterflies
+(formerly the superfamily "Hedyloidea").
+Butterfly fossils date to the Paleocene, about 56 million years ago.
diff --git a/data/butterfly/title b/data/butterfly/title
new file mode 100644
index 0000000..a32b910
--- /dev/null
+++ b/data/butterfly/title
@@ -0,0 +1 @@
+Butterfly
diff --git a/data/juniper b/data/juniper
new file mode 100644
index 0000000..66e3d03
--- /dev/null
+++ b/data/juniper
@@ -0,0 +1,10 @@
+title Juniper
+content Junipers are coniferous trees and shrubs in the genus Juniperus
+ of the cypress family Cupressaceae.
+ Depending on taxonomic viewpoint, between 50 and 67 species of junipers are
+ widely distributed throughout the Northern Hemisphere, from the Arctic,
+ south to tropical Africa, from Ziarat, Pakistan, east to eastern Tibet
+ in the Old World, and in the mountains of Central America.
+ The highest-known juniper forest occurs at an altitude of 16,000 ft (4,900 m)
+ in southeastern Tibet and the northern Himalayas,
+ creating one of the highest tree-lines on earth.
diff --git a/data/licorice b/data/licorice
new file mode 100644
index 0000000..613b1b7
--- /dev/null
+++ b/data/licorice
@@ -0,0 +1,5 @@
+title Licorice
+content Liquorice (British English) or licorice (American English)
+ is the common name of Glycyrrhiza glabra,
+ a flowering plant of the bean family Fabaceae,
+ from the root of which a sweet, aromatic flavouring can be extracted.
diff --git a/site/data/some b/site/data/some
deleted file mode 100644
index f9eae4a..0000000
--- a/site/data/some
+++ /dev/null
@@ -1,8 +0,0 @@
-model
- title string
- content multiline
-data
- title Web must be fun!
- content blah-blah
- blah-blah
- blah-blah
diff --git a/titles.sh b/titles.sh
new file mode 100644
index 0000000..80d665a
--- /dev/null
+++ b/titles.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+export base="$(pwd)/"
+export proc=$$
+vsvs-extract 'echo -n "$value" | vsvs-parse 'test "$key" == "title" && echo -n "$value" && exit 0'' data
+rm -r "$base/proc/$proc"