commit 74861cc096dc84c1f31c49d51af4906a73066d5d Author: Rafi59 Date: Mon Jul 15 15:23:23 2019 +0200 Init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a77eca2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry +image: registry.gitlab.com/pages/hugo:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +test: + script: + - hugo + except: + - master + +pages: + script: + - hugo + artifacts: + paths: + - public + only: + - master diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2f3ee86 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Spencer Lyon + +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. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..fbab18b --- /dev/null +++ b/README.md @@ -0,0 +1,81 @@ +![Build Status](https://gitlab.com/pages/hugo/badges/master/build.svg) + +--- + +Example [Hugo] 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/. + +--- + + + +**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) + + + +## GitLab CI + +This project's static Pages are built by [GitLab CI][ci], following the steps +defined in [`.gitlab-ci.yml`](.gitlab-ci.yml). + +## 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][] Hugo +1. Preview your project: `hugo server` +1. Add content +1. Generate the website: `hugo` (optional) + +Read more at Hugo's [documentation][]. + +### Preview your site + +If you clone or download this project to your local computer and run `hugo server`, +your site can be accessed under `localhost:1313/hugo/`. + +The theme used is adapted from http://themes.gohugo.io/beautifulhugo/. + +## GitLab User or Group Pages + +To use this project as your user/group website, you will need one additional +step: just rename your project to `namespace.gitlab.io`, where `namespace` is +your `username` or `groupname`. This can be done by navigating to your +project's **Settings**. + +You'll need to configure your site too: change this line +in your `config.toml`, from `"https://pages.gitlab.io/hugo/"` to `baseurl = "https://namespace.gitlab.io"`. +Proceed equally if you are using a [custom domain][post]: `baseurl = "http(s)://example.com"`. + +Read more about [user/group Pages][userpages] and [project Pages][projpages]. + +## Did you fork this project? + +If you forked this project for your own use, please go to your project's +**Settings** and remove the forking relationship, which won't be necessary +unless you want to contribute back to the upstream project. + +## Troubleshooting + +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/ +[hugo]: https://gohugo.io +[install]: https://gohugo.io/overview/installing/ +[documentation]: https://gohugo.io/overview/introduction/ +[userpages]: http://doc.gitlab.com/ee/pages/README.html#user-or-group-pages +[projpages]: http://doc.gitlab.com/ee/pages/README.html#project-pages +[post]: https://about.gitlab.com/2016/04/07/gitlab-pages-setup/#custom-domains diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..0901090 --- /dev/null +++ b/config.toml @@ -0,0 +1,126 @@ +baseurl = "https://axinite.codelib.re/" +contentdir = "content" +layoutdir = "layouts" +publishdir = "public" +title = "Minetest Axinite" +canonifyurls = true +copyright = "Axinite Website © 2019 to Axinite Team CC-BY-SA 3.0 for media and content." + +DefaultContentLanguage = "fr" +theme = "hugo-bootstrap" +metaDataFormat = "yaml" +pygmentsUseClasses = true +pygmentCodeFences = true +#disqusShortname = "XXX" +#googleAnalytics = "XXX" + + +[Params] + subtitle = "Axinite website" + logo = "img/avatar-icon.png" + favicon = "img/favicon.ico" + dateFormat = "January 2, 2006" + commit = false + rss = true + comments = false + +# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic" + + [Params.sidebar] + # Whether to show the recent posts or not (default: true) + showRecent = false + + # Whether to show the taxonomies or not (default: true) + showTaxonomy = true + + # How many posts to show on the sidebar (Default: 5) + num_recent_posts = 0 + + [Params.header] + # Color scheme for the header (default: "light") + colorScheme = "dark" + +[Author] + name = "Some Person" + email = "youremail@domain.com" + facebook = "username" + googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx + gitlab = "username" + github = "username" + twitter = "username" + reddit = "username" + linkedin = "username" + xing = "username" + stackoverflow = "users/XXXXXXX/username" + snapchat = "username" + instagram = "username" + youtube = "user/username" # or channel/channelname + soundcloud = "username" + spotify = "username" + bandcamp = "username" + itchio = "username" + keybase = "username" + +[languages] + +[languages.fr] + languageName = "French" + + [[languages.fr.menu.main]] + identifier = "accueil" + name = "Accueil" + url = "" + weight = "1" + + [[languages.fr.menu.main]] + identifier = "gallerie" + name = "Galerie" + url = "page/images" + + [[languages.fr.menu.main]] + identifier = "community" + name = "Forum" + url = "https://forum.axinite.codelib.re/" + + [[languages.fr.menu.main]] + identifier = "carte" + name = "Carte" + url = "page/carte/" + + [[languages.fr.menu.main]] + identifier = "wiki" + name = "Wiki" + url = "https://wiki.axinite.codelib.re/" + +#[languages.en] +# languageName = "English" +# +# [[languages.en.menu.main]] +# identifier = "home" +# name = "Home" +# url = "" +# weight = "1" +# +# [[languages.en.menu.main]] +# identifier = "gallery" +# name = "Gallery" +# url = "en/gallery" +# +# [[languages.en.menu.main]] +# identifier = "community" +# name = "Forum" +# url = "https://forum.axinite.codelib.re/" +# +# [[languages.en.menu.main]] +# identifier = "map" +# name = "Map" +# url = "/en/map/" +# +# [[languages.en.menu.main]] +# identifier = "wiki" +# name = "Wiki" +# url = "https://axinite.codelib.re/doku.php?id=en:start/" + + + + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..03d2e27 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,88 @@ +--- +title: Accueil +subtitle: +comments: false +--- + + +

Bienvenue sur Axinite !

+ + +Se connecter Les règles + +Le serveur est accessible à l'adresse axinite.rafi59.codelib.re sur le port 30000 +
+ + + + +

Serveurs

+

L'adresse du serveur est axinite.rafi59.codelib.re

+ + + +