testing URL https://eternalblueflame.github.io/Traincraft.github.io/
Table of Contents generated with DocToc
You can get started with GitLab Pages using Jekyll easily by either forking this repository or by uploading a new/existing Jekyll project.
Remember you need to wait for your site to build before you will be able to see your changes. You can track the build on the Pipelines tab.
Uploading new pages is done in the pages folder, new posts are done in the posts folder.
All posts are required to follow the naming convention YYYY-MM-DD-name-of-post.ext
pages and posts may be in standard github .md format or using .markdown files following jekyll markdown rules https://www.markdownguide.org/tools/jekyll/
pages and posts require a header similar to
---
layout: post
title: "Welcome to Jekyll!"
date: 2016-03-24 15:32:14 -0300
categories: new-release update
---
with the approporate layout based on what it is. (page/post)
- Fork this repository.
- IMPORTANT: Remove the fork relationship. Go to Settings (⚙) > Edit Project and click the "Remove fork relationship" button.
- Enable Shared Runners. Go to Settings (⚙) > Pipelines and click the "Enable shared Runners" button.
- Rename the repository to match the name you want for your site.
- Edit your website through GitLab or clone the repository and push your changes.
To work locally with this project, you'll have to follow the steps below:
- Fork, clone or download this project
- Install Jekyll
- Download dependencies:
bundle
- Build and preview:
bundle exec jekyll serve
- Add content
The above commands should be executed from the root directory of this project.
Read more at Jekyll's documentation.
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 and project Pages.