pax_global_header 0000666 0000000 0000000 00000000064 13701061332 0014506 g ustar 00root root 0000000 0000000 52 comment=ce01ac33ab8e9fc8840cfca3223655613b9a0819 urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/ 0000775 0000000 0000000 00000000000 13701061332 0020330 5 ustar 00root root 0000000 0000000 urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/.gitlab-ci.yml 0000664 0000000 0000000 00000000350 13701061332 0022762 0 ustar 00root root 0000000 0000000 variables: EXPORT_DIR: "/var/www/html/pages" pages-master: stage: deploy script: - mkdir "$EXPORT_DIR/$CI_PROJECT_NAME" - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME" tags: - production only: - master urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/README.md 0000664 0000000 0000000 00000004245 13701061332 0021614 0 ustar 00root root 0000000 0000000 ![Build Status](https://gitlab.com/pages/plain-html/badges/master/build.svg) --- Example plain HTML site 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) - [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): ``` image: alpine:latest pages: stage: deploy script: - echo 'Nothing to do...' artifacts: paths: - public only: - master ``` The above example expects to put all your HTML files in the `public/` directory. ## 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**. 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 that you have wrongly set up the CSS URL in your HTML files. Have a look at the [index.html] for an example. [ci]: https://about.gitlab.com/gitlab-ci/ [index.html]: https://gitlab.com/pages/plain-html/blob/master/public/index.html [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 urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/public/ 0000775 0000000 0000000 00000000000 13701061332 0021606 5 ustar 00root root 0000000 0000000 urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/public/index.html 0000664 0000000 0000000 00000001170 13701061332 0023602 0 ustar 00root root 0000000 0000000
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
urbanvis-ce01ac33ab8e9fc8840cfca3223655613b9a0819/public/style.css 0000664 0000000 0000000 00000000471 13701061332 0023462 0 ustar 00root root 0000000 0000000 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; }