aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-08-10 15:08:58 +0100
committerChristopher Baines <mail@cbaines.net>2014-08-10 15:08:58 +0100
commit85c2ebe83a5d95201f99a00e0499d97659879cb8 (patch)
treefe468f64b73500519662948a081e9e4645ffaca1
parentd77036bb8e7bcf4b33ff836d8fc121c9d0b04d8e (diff)
downloadalbum-examples-master.tar
album-examples-master.tar.gz
Add example with large imagesHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--Makefile11
-rw-r--r--large-actiontabs.setup33
-rw-r--r--large-album-nostrip/1.jpgbin0 -> 5839568 bytes
-rw-r--r--large-album-nostrip/2.jpgbin0 -> 5805718 bytes
-rw-r--r--large-album-nostrip/3.jpgbin0 -> 7708081 bytes
-rw-r--r--large-album-nostrip/4.jpgbin0 -> 5171887 bytes
-rw-r--r--large-blueview.setup33
-rw-r--r--large-goldtype.setup33
-rw-r--r--large-monochrome.setup33
-rw-r--r--large.setup31
-rw-r--r--large/album.mdwn3
-rw-r--r--large/album/1.jpgbin0 -> 5816427 bytes
-rw-r--r--large/album/2.jpgbin0 -> 5790034 bytes
-rw-r--r--large/album/3.jpgbin0 -> 7668561 bytes
-rw-r--r--large/album/4.jpgbin0 -> 5155963 bytes
-rw-r--r--large/index.mdwn19
17 files changed, 195 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index c149205..4fbe1ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ ikiwiki
ikiwiki-dest
basic/.ikiwiki
+large/.ikiwiki
diff --git a/Makefile b/Makefile
index cc8f49b..9d07c8b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,15 @@ ikiwiki:
ikiwiki-dest: ikiwiki
cd ikiwiki && perl Makefile.PL PREFIX=../ikiwiki-dest && make && make install
-all: ikiwiki-dest
- export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "*\.setup" -exec ikiwiki --setup {} \;
+.PHONY: basic large
+
+basic: ikiwiki-dest
+ export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "basic*\.setup" -exec ikiwiki --setup {} \;
+
+large: ikiwiki-dest
+ export PERL5LIB=`pwd`/ikiwiki && PATH=ikiwiki-dest/bin:$(PATH); find . -maxdepth 1 -name "large*\.setup" -exec ikiwiki --setup {} \;
+
+all: basic large
clean:
rm -rf ikiwiki-dest
diff --git a/large-actiontabs.setup b/large-actiontabs.setup
new file mode 100644
index 0000000..58e1fca
--- /dev/null
+++ b/large-actiontabs.setup
@@ -0,0 +1,33 @@
+# IkiWiki::Setup::Yaml - YAML formatted setup file
+#
+# name of the wiki
+wikiname: large-actiontabs
+# where the source of the wiki is located
+srcdir: large
+# where to build the wiki
+destdir: dest/large-actiontabs
+# base url to the wiki
+url: ''
+# rcs backend to use
+#rcs: 'git'
+# plugins to add to the default configuration
+add_plugins:
+- album
+- theme
+theme: actiontabs
+# plugins to disable
+disable_plugins:
+- openid
+# base wiki source location
+underlaydir: ikiwiki-dest/share/ikiwiki/basewiki
+underlaydirbase: ikiwiki-dest/share/ikiwiki
+# template dir
+templatedir: ikiwiki/templates
+# create output files named page/index.html?
+usedirs: 1
+# display verbose messages?
+verbose: 1
+# generate HTML5?
+html5: 0
+# attempt to hardlink source files? (optimisation for large files)
+hardlink: 0
diff --git a/large-album-nostrip/1.jpg b/large-album-nostrip/1.jpg
new file mode 100644
index 0000000..208298b
--- /dev/null
+++ b/large-album-nostrip/1.jpg
Binary files differ
diff --git a/large-album-nostrip/2.jpg b/large-album-nostrip/2.jpg
new file mode 100644
index 0000000..ab44b9d
--- /dev/null
+++ b/large-album-nostrip/2.jpg
Binary files differ
diff --git a/large-album-nostrip/3.jpg b/large-album-nostrip/3.jpg
new file mode 100644
index 0000000..fd14c54
--- /dev/null
+++ b/large-album-nostrip/3.jpg
Binary files differ
diff --git a/large-album-nostrip/4.jpg b/large-album-nostrip/4.jpg
new file mode 100644
index 0000000..6fce3c7
--- /dev/null
+++ b/large-album-nostrip/4.jpg
Binary files differ
diff --git a/large-blueview.setup b/large-blueview.setup
new file mode 100644
index 0000000..cade006
--- /dev/null
+++ b/large-blueview.setup
@@ -0,0 +1,33 @@
+# IkiWiki::Setup::Yaml - YAML formatted setup file
+#
+# name of the wiki
+wikiname: large-blueview
+# where the source of the wiki is located
+srcdir: large
+# where to build the wiki
+destdir: dest/large-blueview
+# base url to the wiki
+url: ''
+# rcs backend to use
+#rcs: 'git'
+# plugins to add to the default configuration
+add_plugins:
+- album
+- theme
+theme: blueview
+# plugins to disable
+disable_plugins:
+- openid
+# base wiki source location
+underlaydir: ikiwiki-dest/share/ikiwiki/basewiki
+underlaydirbase: ikiwiki-dest/share/ikiwiki
+# template dir
+templatedir: ikiwiki/templates
+# create output files named page/index.html?
+usedirs: 1
+# display verbose messages?
+verbose: 1
+# generate HTML5?
+html5: 0
+# attempt to hardlink source files? (optimisation for large files)
+hardlink: 0
diff --git a/large-goldtype.setup b/large-goldtype.setup
new file mode 100644
index 0000000..f0b495b
--- /dev/null
+++ b/large-goldtype.setup
@@ -0,0 +1,33 @@
+# IkiWiki::Setup::Yaml - YAML formatted setup file
+#
+# name of the wiki
+wikiname: large-goldtype
+# where the source of the wiki is located
+srcdir: large
+# where to build the wiki
+destdir: dest/large-goldtype
+# base url to the wiki
+url: ''
+# rcs backend to use
+#rcs: 'git'
+# plugins to add to the default configuration
+add_plugins:
+- album
+- theme
+theme: goldtype
+# plugins to disable
+disable_plugins:
+- openid
+# base wiki source location
+underlaydir: ikiwiki-dest/share/ikiwiki/basewiki
+underlaydirbase: ikiwiki-dest/share/ikiwiki
+# template dir
+templatedir: ikiwiki/templates
+# create output files named page/index.html?
+usedirs: 1
+# display verbose messages?
+verbose: 1
+# generate HTML5?
+html5: 0
+# attempt to hardlink source files? (optimisation for large files)
+hardlink: 0
diff --git a/large-monochrome.setup b/large-monochrome.setup
new file mode 100644
index 0000000..2d386c9
--- /dev/null
+++ b/large-monochrome.setup
@@ -0,0 +1,33 @@
+# IkiWiki::Setup::Yaml - YAML formatted setup file
+#
+# name of the wiki
+wikiname: large-monochrome
+# where the source of the wiki is located
+srcdir: large
+# where to build the wiki
+destdir: dest/large-monochrome
+# base url to the wiki
+url: ''
+# rcs backend to use
+#rcs: 'git'
+# plugins to add to the default configuration
+add_plugins:
+- album
+- theme
+theme: monochrome
+# plugins to disable
+disable_plugins:
+- openid
+# base wiki source location
+underlaydir: ikiwiki-dest/share/ikiwiki/basewiki
+underlaydirbase: ikiwiki-dest/share/ikiwiki
+# template dir
+templatedir: ikiwiki/templates
+# create output files named page/index.html?
+usedirs: 1
+# display verbose messages?
+verbose: 1
+# generate HTML5?
+html5: 0
+# attempt to hardlink source files? (optimisation for large files)
+hardlink: 0
diff --git a/large.setup b/large.setup
new file mode 100644
index 0000000..bfef90e
--- /dev/null
+++ b/large.setup
@@ -0,0 +1,31 @@
+# IkiWiki::Setup::Yaml - YAML formatted setup file
+#
+# name of the wiki
+wikiname: large
+# where the source of the wiki is located
+srcdir: large
+# where to build the wiki
+destdir: dest/large
+# base url to the wiki
+url: ''
+# rcs backend to use
+#rcs: 'git'
+# plugins to add to the default configuration
+add_plugins:
+- album
+# plugins to disable
+disable_plugins:
+- openid
+# base wiki source location
+underlaydir: ikiwiki-dest/share/ikiwiki/basewiki
+underlaydirbase: ikiwiki-dest/share/ikiwiki
+# template dir
+templatedir: ikiwiki/templates
+# create output files named page/index.html?
+usedirs: 1
+# display verbose messages?
+verbose: 1
+# generate HTML5?
+html5: 0
+# attempt to hardlink source files? (optimisation for large files)
+hardlink: 0
diff --git a/large/album.mdwn b/large/album.mdwn
new file mode 100644
index 0000000..8146d01
--- /dev/null
+++ b/large/album.mdwn
@@ -0,0 +1,3 @@
+[[!album
+ thumbnailsize="96x"
+]]
diff --git a/large/album/1.jpg b/large/album/1.jpg
new file mode 100644
index 0000000..6fe0ef3
--- /dev/null
+++ b/large/album/1.jpg
Binary files differ
diff --git a/large/album/2.jpg b/large/album/2.jpg
new file mode 100644
index 0000000..bc5e6f2
--- /dev/null
+++ b/large/album/2.jpg
Binary files differ
diff --git a/large/album/3.jpg b/large/album/3.jpg
new file mode 100644
index 0000000..6a7baee
--- /dev/null
+++ b/large/album/3.jpg
Binary files differ
diff --git a/large/album/4.jpg b/large/album/4.jpg
new file mode 100644
index 0000000..1d752e3
--- /dev/null
+++ b/large/album/4.jpg
Binary files differ
diff --git a/large/index.mdwn b/large/index.mdwn
new file mode 100644
index 0000000..6c14abe
--- /dev/null
+++ b/large/index.mdwn
@@ -0,0 +1,19 @@
+This is a demo of the album plugin for Ikiwiki.
+
+[[View the album|album]]
+
+## Themes
+
+You can see this plugin under different themes.
+
+<ul>
+ <li><a href="../large-actiontabs">actiontabs</a></li>
+ <li><a href="../large-blueview">blueview</a></li>
+ <li><a href="../large-goldtype">goldtype</a></li>
+ <li><a href="../large-monochrome">monochrome</a></li>
+ <li><a href="../large">none</a></li>
+</ul>
+
+## Source
+
+This wiki is in a git repository