diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7110e990864e9e93c226c9c6e8118d5e43e365e3..6511ea13caae1e42d57c9878a09f1e7493286166 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,24 @@ -image: alpine:latest +image: elecnix/ikiwiki + +before_script: + - apt-get install -y git + - git submodule init + - git submodule update + +test: + stage: test + script: + - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib + only: + - branches + - tags pages: stage: deploy script: - - echo 'Nothing to do...' + - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib artifacts: paths: - public only: - master - tags: - - pages diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d8027c3d51f59a1295fd29e6ab8728fcfb79f8cf --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 pages + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 0a365862a795121ba9105fc3ceaa47f344f9f5f7..af49be378a7775736dab384b1addfce428d8695f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ - + --- -Example plain HTML site using GitLab Pages. +Example [ikiwiki] website using GitLab Pages. Learn more about GitLab Pages at https://pages.gitlab.io and the official documentation https://docs.gitlab.com/ce/user/project/pages/. @@ -14,6 +14,7 @@ documentation https://docs.gitlab.com/ce/user/project/pages/. **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* - [GitLab CI](#gitlab-ci) +- [Building locally](#building-locally) - [GitLab User or Group Pages](#gitlab-user-or-group-pages) - [Did you fork this project?](#did-you-fork-this-project) - [Troubleshooting](#troubleshooting) @@ -25,13 +26,26 @@ documentation https://docs.gitlab.com/ce/user/project/pages/. This project's static Pages are built by [GitLab CI][ci], following the steps defined in [`.gitlab-ci.yml`](.gitlab-ci.yml): -``` -image: alpine:latest +```yaml +image: elecnix/ikiwiki + +before_script: + - apt-get install -y git + - git submodule init + - git submodule update + +test: + stage: test + script: + - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib + only: + - branches + - tags pages: stage: deploy script: - - echo 'Nothing to do...' + - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib artifacts: paths: - public @@ -39,7 +53,20 @@ pages: - master ``` -The above example expects to put all your HTML files in the `public/` directory. +We are using a theme based on Bootstrap 4 using submodules, and in order to +enable the theme plugin, we must pass the `libdir` parameter. + +## Building locally + +To work locally with this project, you'll have to follow the steps below: + +1. Fork, clone or download this project +1. [Install][] ikiwiki +1. Clone the submodules: `git submodule init && git submodule update` +1. Generate the website: `ikiwiki --setup .ikiwiki/ikiwiki.setup --libdir themes/ikistrap/lib` +1. Preview your project: open `public/index.html` in a browser + +Read more at ikiwiki's [documentation][]. ## GitLab User or Group Pages @@ -58,10 +85,15 @@ unless you want to contribute back to the upstream project. ## Troubleshooting -1. CSS is missing! That means that you have wrongly set up the CSS URL in your - HTML files. Have a look at the [index.html] for an example. +1. CSS is missing! That means two things: + + Either that you have wrongly set up the CSS URL in your templates, or + your static generator has a configuration option that needs to be explicitly + set in order to serve static assets under a relative URL. [ci]: https://about.gitlab.com/gitlab-ci/ -[index.html]: https://gitlab.com/pages/plain-html/blob/master/public/index.html +[ikiwiki]: https://ikiwiki.info/ +[install]: https://ikiwiki.info/install/ +[documentation]: https://ikiwiki.info/ [userpages]: https://docs.gitlab.com/ce/user/project/pages/introduction.html#user-or-group-pages [projpages]: https://docs.gitlab.com/ce/user/project/pages/introduction.html#project-pages diff --git a/content/Anemones.jpg b/content/Anemones.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7151241a028c8e606849478d43874d2f04999fe5 Binary files /dev/null and b/content/Anemones.jpg differ diff --git a/content/Bootstrap_features.mdwn b/content/Bootstrap_features.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..12c3a08485399446f496125f15ca3c4c2bc8505c --- /dev/null +++ b/content/Bootstrap_features.mdwn @@ -0,0 +1,136 @@ +# Bootstrap features + +This page will contain a display of various features from Bootstrap. +They require some manual HTML tags. +Note that not all Markdown parsers allow Markdown markup inside all HTML tags. +In the case of ikiwiki, adding `markdown="1"` to `div` elements usually allows markup to be used inside them. +For a full list of features provided by Bootstrap 4, go to <http://v4-alpha.getbootstrap.com/getting-started/introduction/>. + +<div class="jumbotron" markdown="1"> +## Jumbotron + +It's big and in your face. + +--- + +You can still use Markdown syntax inside HTML blocks, if you are careful. + +<a class="btn btn-primary btn-large" href="#">Button</a> +</div> + +## Labels <span class="label label-info">Hi!</span> + +Span elements work inside Markdown headings. + +<div class="card card-block" markdown="1"> +## Cards + +Put a border with soft round corners around your content. +</div> + + +## Card decks + +These require some more work. +You can use the `\[[!img]]` directive, but make sure to add `class="card-img-top"` or `class="card-img-bottom"` where appropriate. +For images in cards to work properly, they need to have their width forced to 100% of their container. +This is done in the `style.css` file that comes with ikistrap. + +Another issue is that due to all the nested HTML tags, even with `markdown="1"`, Markdown markup does not get parsed anymore. + +<div class="card-deck"> +<div class="card-deck-wrapper"> +<div class="card"> +[[!img Lemonshark.jpg alt="Lemon shark" class="card-img-top"]] +<div class="card-block"> +<p class="card-text"> +A lemon shark and his little friends are out for a swim. +</p> +<p><a href="#" class="btn btn-danger">Escape</a></p> +</div> +</div> +<div class="card"> +[[!img Anemones.jpg alt="Anemones" class="card-img-top"]] +<div class="card-block"> +<p class="card-text"> +Anemones look really nice and are much less dangerous than lemon sharks. +</p> +<p><a href="#" class="btn btn-success">Admire</a></p> +</div> +</div> +<div class="card"> +[[!img Sea_Star.jpg alt="Sea star" class="card-img-top"]] +<div class="card-block"> +<p class="card-text"> +Sea stars are also less dangerous than lemon sharks, but they are slightly more dangerous than +anemones, <em>especially</em> when stepped on. +</p> +<p><a href="#" class="btn btn-warning">Sidestep</a></p> +</div> +</div> +</div> +</div> + +## Card columns + +These can be created by writing the outer card-columns `div` elements yourself, +and using `\[[!inline]]` with `template="simplecard"` to generate the cards. + +<div class="card-columns"> +[[!inline pages="sample_text/* and !*/Discussion" template="simplecard" feeds="no"]] +</div> + + +## Carousel + +These can be created by writing the outer two carousel `div` elements yourself, +and using `\[[!inline]]` with `template="carouselpage"` to generate the carousel items. + +<p> +<div id="carousel-example-pages" class="carousel slide" data-ride="carousel"> +<ol class="carousel-indicators"></ol> +<div class="carousel-inner" role="listbox"> +[[!inline pages="sample_text/* and !*/Discussion" template="carouselpage" feeds="no"]] +</div> +<a class="left carousel-control" href="#carousel-example-pages" role="button" data-slide="prev"> +<span class="icon-prev" aria-hidden="true"></span> +<span class="sr-only">Previous</span> +</a> +<a class="right carousel-control" href="#carousel-example-pages" role="button" data-slide="next"> +<span class="icon-next" aria-hidden="true"></span> +<span class="sr-only">Next</span> +</a> +</div> +</p> + +If you only want to show images, use `template="carouselimage"`, and select your images directly with the `pages` parameter. + +<p> +<div id="carousel-example-images" class="carousel slide" data-ride="carousel"> +<div class="carousel-inner" role="listbox"> +[[!inline pages="*.jpg" template="carouselimage" feeds="no"]] +</div> +<a class="left carousel-control" href="#carousel-example-images" role="button" data-slide="prev"> +<span class="icon-prev" aria-hidden="true"></span> +<span class="sr-only">Previous</span> +</a> +<a class="right carousel-control" href="#carousel-example-images" role="button" data-slide="next"> +<span class="icon-next" aria-hidden="true"></span> +<span class="sr-only">Next</span> +</a> +</div> +</p> + +## Progress bars + +Ikistrap also provides a progress directive which works in the same way as the progress plugin, +but it also allows an extra class to be specified to change the style per bar. + +[[!progress totalpages="* and !*/Discussion" donepages="*/Discussion"]] +[[!progress percent="33%"]] +[[!progress percent="66%" class="progress-success progress-striped"]] + +## Other stuff + +Goes here. + diff --git a/content/Calendars.mdwn b/content/Calendars.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..5d8e15223cd635be27f9251dd9f4c12826e2e0c8 --- /dev/null +++ b/content/Calendars.mdwn @@ -0,0 +1,10 @@ +# Calendar + +This is an example of the ikiwiki calendar function. +Here is a monthly calendar: + +[[!calendar type="month"]] + +And this is a yearly calendar: + +[[!calendar type="year"]] diff --git a/content/Comments.mdwn b/content/Comments.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..24cc74445bb802ce970e27dd719b7824c7c27858 --- /dev/null +++ b/content/Comments.mdwn @@ -0,0 +1,3 @@ +# Comments + +This is an example of a page where comments are allowed. diff --git a/content/Comments/comment_1._comment b/content/Comments/comment_1._comment new file mode 100644 index 0000000000000000000000000000000000000000..ab9901d9d31543f6cae8b9d2a01ee01e320a049b --- /dev/null +++ b/content/Comments/comment_1._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn +username="Anonymous Coward" +subject="Indeed" +date="2009-06-02T19:05:00Z" +content=""" +Hi, I just want to say that I totally agree with you. +Have a nice day! +""" +]] diff --git a/content/Comments/comment_2._comment b/content/Comments/comment_2._comment new file mode 100644 index 0000000000000000000000000000000000000000..5b29715e022a3862bd85c218c00894f39b05c5fc --- /dev/null +++ b/content/Comments/comment_2._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn +username="Pseudonymous Person" +subject="I am disagree" +date="2009-06-02T19:05:01Z" +content=""" +I don't think so. Eggs should neither be capped at the top or at the bottom. +Symmetry is only attained by slicing it in half in a plane spanned by the line between the top and bottom. +""" +]] diff --git a/content/Inline_pages.mdwn b/content/Inline_pages.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..46d540e63754445fdd9df9b456ba6eb6e6297639 --- /dev/null +++ b/content/Inline_pages.mdwn @@ -0,0 +1,9 @@ +# Inline pages + +Here is an example of inline pages using the default inlining theme: + +[[!inline pages="sample_text/* and !*/Discussion" reverse="yes" limit="3"]] + +Here is an example of inlining with actions enabled: + +[[!inline pages="sample_text/* and !*/Discussion" reverse="yes" skip="3" limit="2" actions="1"]] diff --git a/content/Lemonshark.jpg b/content/Lemonshark.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e568a5ba7a71c543310bebad451ebbb8f3424432 Binary files /dev/null and b/content/Lemonshark.jpg differ diff --git a/content/Sea_Star.jpg b/content/Sea_Star.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5fb9001d447a7f1fa4732f784ef5f192a06bf2a1 Binary files /dev/null and b/content/Sea_Star.jpg differ diff --git a/content/index.mdwn b/content/index.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..205a30f7966b8d037bcac582c5a6ba658e465782 --- /dev/null +++ b/content/index.mdwn @@ -0,0 +1,29 @@ +# Welcome to Ikiwiki hosted by GitLab Pages + +This is an example wiki to show off how Ikiwiki is deployed with [GitLab Pages]. + +It uses the [Ikistrap] theme which provides a fully-featured, modern looking +HTML5 theme for ikiwiki. It uses Bootstrap 4 and Fonts Awesome. + +## Features + +Ikistrap has the following features: + +* Good use of HTML5 semantic elements. +* Responsive layout. +* Standards-compliant. +* Compatible with text-only browsers. +* Header supporting parentlinks, wiki actions, search form, language selection and trails. +* Sidebar styled as a Boostrap 4 card, using the Bootstrap 4 grid system. +* Footer that is pushed down to the bottom of the screen with tags, backlinks, copyright, license and modification date. +* [[Inline pages]] that are by default styled as Bootstrap 4 cards. + +Note that ikistrap doesn't add any special support for Bootstrap to the Markdown language. +If you want to make use of [[Bootstrap features]] inside your text, you will have to manually add the appropriate HTML tags. + +## Contribute + +If you want to contribute to this website, visit <https://gitlab.com/pages/ikiwiki>. + +[gitlab pages]: https://pages.gitlab.io +[ikistrap]: https://github.com/gsliepen/ikistrap diff --git a/content/inlinetest.mdwn b/content/inlinetest.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..95cebf224594e30c9cb7c7fa257f0bb3182a3978 --- /dev/null +++ b/content/inlinetest.mdwn @@ -0,0 +1 @@ +[[!inline pages="sample_text/*"]] diff --git a/content/sample_text/Donec_dapibus.mdwn b/content/sample_text/Donec_dapibus.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..b995fa6346577be33f13eab1d7419c2705a41158 --- /dev/null +++ b/content/sample_text/Donec_dapibus.mdwn @@ -0,0 +1 @@ +Donec dapibus orci sit amet elit. Maecenas rutrum ultrices lectus. Aliquam suscipit, lacus a iaculis adipiscing, eros orci pellentesque nisl, non pharetra dolor urna nec dolor. Integer cursus dolor vel magna. Integer ultrices feugiat sem. Proin nec nibh. Duis eu dui quis nunc sagittis lobortis. Fusce pharetra, enim ut sodales luctus, lectus arcu rhoncus purus, in fringilla augue elit vel lacus. In hac habitasse platea dictumst. Aliquam erat volutpat. Fusce iaculis elit id tellus. Ut accumsan malesuada turpis. Suspendisse potenti. Vestibulum lacus augue, lobortis mattis, laoreet in, varius at, nisi. Nunc gravida. Phasellus faucibus. In hac habitasse platea dictumst. Integer tempor lacus eget lectus. Praesent fringilla augue fringilla dui. diff --git a/content/sample_text/Donec_semper.mdwn b/content/sample_text/Donec_semper.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..bdcb1ab454e93eb613e2b2cfd32265c9aa009c2c --- /dev/null +++ b/content/sample_text/Donec_semper.mdwn @@ -0,0 +1 @@ +Donec semper, sem nec tristique tempus, justo neque commodo nisl, ut gravida sem tellus suscipit nunc. Aliquam erat volutpat. Ut tincidunt pretium elit. Aliquam pulvinar. Nulla cursus. Suspendisse potenti. Etiam condimentum hendrerit felis. Duis iaculis aliquam enim. Donec dignissim augue vitae orci. Curabitur luctus felis a metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In varius neque at enim. Suspendisse massa nulla, viverra in, bibendum vitae, tempor quis, lorem. diff --git a/content/sample_text/Lorem_ipsum.mdwn b/content/sample_text/Lorem_ipsum.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..f0199bc9dba95b83a66e85f3802c982709afe2b7 --- /dev/null +++ b/content/sample_text/Lorem_ipsum.mdwn @@ -0,0 +1,4 @@ +[[!meta author="Cicero"]] +[[!meta date="45 B.C."]] + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at ante. Mauris eleifend, quam a vulputate dictum, massa quam dapibus leo, eget vulputate orci purus ut lorem. In fringilla mi in ligula. Pellentesque aliquam quam vel dolor. Nunc adipiscing. Sed quam odio, tempus ac, aliquam molestie, varius ac, tellus. Vestibulum ut nulla aliquam risus rutrum interdum. Pellentesque lorem. Curabitur sit amet erat quis risus feugiat viverra. Pellentesque augue justo, sagittis et, lacinia at, venenatis non, arcu. Nunc nec libero. In cursus dictum risus. Etiam tristique nisl a nulla. Ut a orci. Curabitur dolor nunc, egestas at, accumsan at, malesuada nec, magna. diff --git a/content/sample_text/Nulla_facilisi.mdwn b/content/sample_text/Nulla_facilisi.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..0e8a0b97f5bcf2bff283070dda0af1e7437fb0a8 --- /dev/null +++ b/content/sample_text/Nulla_facilisi.mdwn @@ -0,0 +1,2 @@ +[[!tag Cicero Latin typesetting]] +Nulla facilisi. Nunc volutpat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut sit amet orci vel mauris blandit vehicula. Nullam quis enim. Integer dignissim viverra velit. Curabitur in odio. In hac habitasse platea dictumst. Ut consequat, tellus eu volutpat varius, justo orci elementum dolor, sed imperdiet nulla tellus ut diam. Vestibulum ipsum ante, malesuada quis, tempus ac, placerat sit amet, elit. diff --git a/content/sample_text/Sed_eget.mdwn b/content/sample_text/Sed_eget.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..d360de333f0d6d1bed19cfb289530c1b6f9f2698 --- /dev/null +++ b/content/sample_text/Sed_eget.mdwn @@ -0,0 +1 @@ +Sed eget turpis a pede tempor malesuada. Vivamus quis mi at leo pulvinar hendrerit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque aliquet lacus vitae pede. Nullam mollis dolor ac nisi. Phasellus sit amet urna. Praesent pellentesque sapien sed lacus. Donec lacinia odio in odio. In sit amet elit. Maecenas gravida interdum urna. Integer pretium, arcu vitae imperdiet facilisis, elit tellus tempor nisi, vel feugiat ante velit sit amet mauris. Vivamus arcu. Integer pharetra magna ac lacus. Aliquam vitae sapien in nibh vehicula auctor. Suspendisse leo mauris, pulvinar sed, tempor et, consequat ac, lacus. Proin velit. Nulla semper lobortis mauris. Duis urna erat, ornare et, imperdiet eu, suscipit sit amet, massa. Nulla nulla nisi, pellentesque at, egestas quis, fringilla eu, diam. diff --git a/content/sidebar.mdwn b/content/sidebar.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..1368346fc4692cf358df2a81c4294c14a8da15a6 --- /dev/null +++ b/content/sidebar.mdwn @@ -0,0 +1,7 @@ +This is the sidebar. + +* [[/index]] +* [[ikiwiki]] +* [[sandbox]] +* [[shortcuts]] +* [[templates]] diff --git a/content/tag/Cicero/index.mdwn b/content/tag/Cicero/index.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..1db90cd180d32363e5ee2dc0f8cd321e658b82ed --- /dev/null +++ b/content/tag/Cicero/index.mdwn @@ -0,0 +1,4 @@ +[[!meta title="pages tagged Cicero"]] + +[[!inline pages="tagged(Cicero)" actions="no" archive="yes" +feedshow=10]] diff --git a/content/tag/Latin/index.mdwn b/content/tag/Latin/index.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..eb55a314833efa0b7d258e4ffe8f1c08ee11f87f --- /dev/null +++ b/content/tag/Latin/index.mdwn @@ -0,0 +1,4 @@ +[[!meta title="pages tagged Latin"]] + +[[!inline pages="tagged(Latin)" actions="no" archive="yes" +feedshow=10]] diff --git a/content/tag/typesetting/index.mdwn b/content/tag/typesetting/index.mdwn new file mode 100644 index 0000000000000000000000000000000000000000..b017ffd78b88e51ea8ec57c52dc95f22bca0b7e9 --- /dev/null +++ b/content/tag/typesetting/index.mdwn @@ -0,0 +1,4 @@ +[[!meta title="pages tagged typesetting"]] + +[[!inline pages="tagged(typesetting)" actions="no" archive="yes" +feedshow=10]] diff --git a/ikiwiki.setup b/ikiwiki.setup new file mode 100644 index 0000000000000000000000000000000000000000..fde89156e25885b64f7553b9647d919a7be9e382 --- /dev/null +++ b/ikiwiki.setup @@ -0,0 +1,394 @@ +# IkiWiki::Setup::Yaml - YAML formatted setup file +# +# Setup file for ikiwiki. +# +# Passing this to ikiwiki --setup will make ikiwiki generate +# wrappers and build the wiki. +# +# Remember to re-run ikiwiki --setup any time you edit this file. +# +# name of the wiki +wikiname: Ikiwiki on GitLab Pages +# contact email for wiki +#adminemail: me@example.com +# users who are wiki admins +adminuser: [] +# users who are banned from the wiki +banned_users: [] +# where the source of the wiki is located +srcdir: ./content +# where to build the wiki +destdir: ./public +# base url to the wiki +url: https://pages.gitlab.io/ikiwiki +# url to the ikiwiki.cgi +cgiurl: '' +# do not adjust cgiurl if CGI is accessed via different URL +reverse_proxy: 0 +# filename of cgi wrapper to generate +cgi_wrapper: '' +# mode for cgi_wrapper (can safely be made suid) +cgi_wrappermode: 06755 +# number of seconds to delay CGI requests when overloaded +cgi_overload_delay: '' +# message to display when overloaded (may contain html) +cgi_overload_message: '' +# enable optimization of only refreshing committed changes? +only_committed_changes: 0 +# rcs backend to use +rcs: '' +# plugins to add to the default configuration +add_plugins: +- goodstuff +- favicon +- sidebar +- highlight +- typography +- ikistrap +# plugins to disable +disable_plugins: [] +# additional directory to search for template files +templatedir: ./themes/ikistrap/templates +#templatedir: /usr/share/ikiwiki/templates +# base wiki source location +#underlaydir: /usr/share/ikiwiki/basewiki +underlaydir: ./themes/ikistrap/basewiki +# display verbose messages? +verbose: 1 +# log to syslog? +#syslog: 1 +# create output files named page/index.html? +usedirs: 1 +# use '!'-prefixed preprocessor directives? +prefix_directives: 1 +# use page/index.mdwn source files +indexpages: 0 +# enable Discussion pages? +discussion: 1 +# name of Discussion pages +discussionpage: Discussion +# use elements new in HTML5 like <section>? +html5: 1 +# only send cookies over SSL connections? +sslcookie: 0 +# extension to use for new pages +default_pageext: mdwn +# extension to use for html files +htmlext: html +# strftime format string to display date +timeformat: '%c' +# UTF-8 locale to use +#locale: en_US.UTF-8 +# put user pages below specified page +userdir: '' +# how many backlinks to show before hiding excess (0 to show all) +numbacklinks: 10 +# attempt to hardlink source files? (optimisation for large files) +hardlink: 0 +# force ikiwiki to use a particular umask (keywords public, group or private, or a number) +#umask: public +# group for wrappers to run in +#wrappergroup: ikiwiki +# extra library and plugin directories +libdirs: [] +# extra library and plugin directory (searched after libdirs) +libdir: '' +# environment variables +ENV: {} +# time zone name +timezone: :/etc/localtime +# regexp of normally excluded files to include +#include: ^\.htaccess$ +# regexp of files that should be skipped +#exclude: ^(*\.private|Makefile)$ +# specifies the characters that are allowed in source filenames +wiki_file_chars: -[:alnum:]+/.:_ +# allow symlinks in the path leading to the srcdir (potentially insecure) +allow_symlinks_before_srcdir: 0 +# cookie control +cookiejar: + file: ~/.ikiwiki/cookies +# set custom user agent string for outbound HTTP requests e.g. when fetching aggregated RSS feeds +useragent: ikiwiki/3.20160509 +# theme has a responsive layout? (mobile-optimized) +responsive_layout: 1 +# try harder to produce deterministic output +deterministic: 0 + +###################################################################### +# core plugins +# (editpage, htmlscrubber, inline, link, meta, parentlinks, templatebody) +###################################################################### + +# htmlscrubber plugin +# PageSpec specifying pages not to scrub +#htmlscrubber_skip: '!*/Discussion' + +# inline plugin +# enable rss feeds by default? +#rss: 0 +# enable atom feeds by default? +#atom: 0 +# allow rss feeds to be used? +#allowrss: 0 +# allow atom feeds to be used? +#allowatom: 0 +# urls to ping (using XML-RPC) on feed update +pingurl: [] + +###################################################################### +# auth plugins +# (anonok, blogspam, emailauth, httpauth, lockedit, moderatedcomments, +# opendiscussion, openid, passwordauth, signinedit) +###################################################################### + +# anonok plugin +# PageSpec to limit which pages anonymous users can edit +#anonok_pagespec: '*/discussion' + +# blogspam plugin +# PageSpec of pages to check for spam +#blogspam_pagespec: postcomment(*) +# options to send to blogspam server +#blogspam_options: blacklist=1.2.3.4,blacklist=8.7.6.5,max-links=10 +# blogspam server JSON url +#blogspam_server: '' + +# emailauth plugin +# email address to send emailauth mails as (default: adminemail) +#emailauth_sender: '' + +# httpauth plugin +# url to redirect to when authentication is needed +#cgiauthurl: http://example.com/wiki/auth/ikiwiki.cgi +# PageSpec of pages where only httpauth will be used for authentication +#httpauth_pagespec: '!*/Discussion' + +# lockedit plugin +# PageSpec controlling which pages are locked +#locked_pages: '!*/Discussion' + +# moderatedcomments plugin +# PageSpec matching users or comment locations to moderate +#moderate_pagespec: '*' + +# openid plugin +# url pattern of openid realm (default is cgiurl) +#openid_realm: '' +# url to ikiwiki cgi to use for openid authentication (default is cgiurl) +#openid_cgiurl: '' + +# passwordauth plugin +# a password that must be entered when signing up for an account +#account_creation_password: s3cr1t +# cost of generating a password using Authen::Passphrase::BlowfishCrypt +#password_cost: 8 + +###################################################################### +# format plugins +# (creole, highlight, hnb, html, mdwn, otl, rawhtml, rst, textile, txt) +###################################################################### + +# highlight plugin +# types of source files to syntax highlight +#tohighlight: .c .h .cpp .pl .py Makefile:make +# location of highlight's filetypes.conf +#filetypes_conf: /etc/highlight/filetypes.conf +# location of highlight's langDefs directory +#langdefdir: /usr/share/highlight/langDefs + +# mdwn plugin +# enable multimarkdown features? +#multimarkdown: 0 +# disable use of markdown discount? +#nodiscount: 0 + +###################################################################### +# special-purpose plugins +# (osm, underlay) +###################################################################### + +# osm plugin +# the default zoom when you click on the map link +#osm_default_zoom: 15 +# the icon shown on links and on the main map +#osm_default_icon: ikiwiki/images/osm.png +# the alt tag of links, defaults to empty +#osm_alt: '' +# the output format for waypoints, can be KML, GeoJSON or CSV (one or many, comma-separated) +#osm_format: KML +# the icon attached to a tag, displayed on the map for tagged pages +#osm_tag_default_icon: icon.png +# Url for the OpenLayers.js file +#osm_openlayers_url: http://www.openlayers.org/api/OpenLayers.js +# Layers to use in the map. Can be either the 'OSM' string or a type option for Google maps (GoogleNormal, GoogleSatellite, GoogleHybrid or GooglePhysical). It can also be an arbitrary URL in a syntax acceptable for OpenLayers.Layer.OSM.url parameter. +#osm_layers: +# OSM: GoogleSatellite +# Google maps API key, Google layer not used if missing, see https://code.google.com/apis/console/ to get an API key +#osm_google_apikey: '' + +# underlay plugin +# extra underlay directories to add +#add_underlays: +#- /home/axil/wiki.underlay + +###################################################################### +# web plugins +# (404, attachment, comments, editdiff, edittemplate, getsource, google, +# goto, mirrorlist, remove, rename, repolist, search, theme, userlist, +# websetup, wmd) +###################################################################### + +# attachment plugin +# enhanced PageSpec specifying what attachments are allowed +#allowed_attachments: virusfree() and mimetype(image/*) and maxsize(50kb) +# virus checker program (reads STDIN, returns nonzero if virus found) +#virus_checker: clamdscan - + +# comments plugin +# PageSpec of pages where comments are allowed +#comments_pagespec: blog/* and !*/Discussion +# PageSpec of pages where posting new comments is not allowed +#comments_closed_pagespec: blog/controversial or blog/flamewar +# Base name for comments, e.g. "comment_" for pages like "sandbox/comment_12" +#comments_pagename: '' +# Interpret directives in comments? +#comments_allowdirectives: 0 +# Allow anonymous commenters to set an author name? +#comments_allowauthor: 0 +# commit comments to the VCS +#comments_commit: 1 +# Restrict formats for comments to (no restriction if empty) +#comments_allowformats: mdwn txt + +# getsource plugin +# Mime type for returned source. +#getsource_mimetype: text/plain; charset=utf-8 + +# mirrorlist plugin +# list of mirrors +#mirrorlist: {} +# generate links that point to the mirrors' ikiwiki CGI +#mirrorlist_use_cgi: 1 + +# repolist plugin +# URIs of repositories containing the wiki's source +#repositories: +#- svn://svn.example.org/wiki/trunk + +# search plugin +# path to the omega cgi program +#omega_cgi: /usr/lib/cgi-bin/omega/omega +# use google site search rather than internal xapian index? +#google_search: 1 + +# theme plugin +# name of theme to enable +#theme: actiontabs + +# websetup plugin +# list of plugins that cannot be enabled/disabled via the web interface +#websetup_force_plugins: [] +# list of additional setup field keys to treat as unsafe +#websetup_unsafe: [] +# show unsafe settings, read-only, in web interface? +#websetup_show_unsafe: 1 + +###################################################################### +# widget plugins +# (calendar, color, conditional, cutpaste, date, format, fortune, +# graphviz, haiku, headinganchors, img, linkmap, listdirectives, map, +# more, orphans, pagecount, pagestats, poll, polygen, postsparkline, +# progress, shortcut, sparkline, table, template, teximg, toc, toggle, +# version) +###################################################################### + +# calendar plugin +# base of the archives hierarchy +#archivebase: archives +# PageSpec of pages to include in the archives, if option `calendar_autocreate` is true. +#archive_pagespec: page(posts/*) and !*/Discussion +# autocreate new calendar pages? +#calendar_autocreate: 1 +# if set, when building calendar pages, also build pages of year and month when no pages were published (building empty calendars). +#calendar_fill_gaps: 1 + +# img plugin +# Image formats to process (jpeg, png, gif, svg, pdf or 'everything' to accept all) +#img_allowed_formats: '' + +# listdirectives plugin +# directory in srcdir that contains directive descriptions +#directive_description_dir: ikiwiki/directive + +# teximg plugin +# Should teximg use dvipng to render, or dvips and convert? +#teximg_dvipng: '' +# LaTeX prefix for teximg plugin +#teximg_prefix: | +# \documentclass{article} +# \usepackage[utf8]{inputenc} +# \usepackage{amsmath} +# \usepackage{amsfonts} +# \usepackage{amssymb} +# \pagestyle{empty} +# \begin{document} +# LaTeX postfix for teximg plugin +#teximg_postfix: \end{document} + +###################################################################### +# other plugins +# (aggregate, autoindex, brokenlinks, camelcase, ddate, embed, favicon, +# filecheck, flattr, goodstuff, htmlbalance, localstyle, loginselector, +# notifyemail, pagetemplate, pingee, pinger, prettydate, recentchanges, +# recentchangesdiff, relativedate, rsync, sidebar, smiley, +# sortnaturally, tag, testpagespec, trail, transient) +###################################################################### + +# aggregate plugin +# enable aggregation to internal pages? +#aggregateinternal: 1 +# allow aggregation to be triggered via the web? +#aggregate_webtrigger: 0 + +# autoindex plugin +# commit autocreated index pages +#autoindex_commit: 1 + +# camelcase plugin +# list of words to not turn into links +#camelcase_ignore: [] + +# flattr plugin +# userid or user name to use by default for Flattr buttons +#flattr_userid: joeyh + +# pinger plugin +# how many seconds to try pinging before timing out +#pinger_timeout: 15 + +# prettydate plugin +# format to use to display date +#prettydateformat: '%X, %B %o, %Y' + +# recentchanges plugin +# name of the recentchanges page +recentchangespage: recentchanges +# number of changes to track +recentchangesnum: 100 + +# rsync plugin +# command to run to sync updated pages +#rsync_command: rsync -qa --delete . user@host:/path/to/docroot/ + +# sidebar plugin +# show sidebar page on all pages? +#global_sidebars: 1 + +# tag plugin +# parent page tags are located under +#tagbase: tag +# autocreate new tag pages? +#tag_autocreate: 1 +# commit autocreated tag pages +#tag_autocreate_commit: 1 diff --git a/public/index.html b/public/index.html deleted file mode 100644 index fcc660a076f63d775ff237c6fd57550d9aa9173a..0000000000000000000000000000000000000000 --- a/public/index.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta name="generator" content="GitLab Pages"> - <title>Plain HTML site using GitLab Pages</title> - <link rel="stylesheet" href="style.css"> - </head> - <body> - <div class="navbar"> - <a href="https://pages.gitlab.io/plain-html/">Plain HTML Example</a> - <a href="https://gitlab.com/pages/plain-html/">Repository</a> - <a href="https://gitlab.com/pages/">Other Examples</a> - </div> - - <h1>Hello World!</h1> - - <p> - First Pages2222 - </p> - </body> -</html> - diff --git a/public/style.css b/public/style.css deleted file mode 100644 index 3eae4084bda0c2270306b14ac8c1ca732415edc3..0000000000000000000000000000000000000000 --- a/public/style.css +++ /dev/null @@ -1,24 +0,0 @@ -body { - font-family: sans-serif; - margin: auto; - max-width: 1280px; -} - -.navbar { - background-color: #313236; - border-radius: 2px; - max-width: 800px; -} - -.navbar a { - color: #aaa; - display: inline-block; - font-size: 15px; - padding: 10px; - text-decoration: none; -} - -.navbar a:hover { - color: #ffffff; -} -