You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rasmus Malver e4ee100e0e Added document 2 months ago
_data Ret et par typos 4 years ago
_includes Accessibility, twittercard and opengraph for the donation-card 7 months ago
_layouts Accessibility, twittercard and opengraph for the donation-card 7 months ago
_pages Opdatering af tekster, bl.a. med EU-dom 3 months ago
_plugins first try at a donation counter 4 years ago
_scripts fix broken file paths 3 years ago
_scss Added italic to <em> 7 months ago
assets Added document 2 months ago
booklet Remove automatic formatting… 3 years ago
dynamic/signup f*cking ;;;;;;;;;;;,'s 4 years ago
.drone.yml Update .drone.yml to only build master 1 year ago
.gitignore Retter tab til space 1 year ago
Dockerfile out comment rewrite debug 2 years ago
Gemfile Moved jekyll-autoprefixer to jekyll_plugins 4 years ago
Gemfile.lock Changed octopress-autoprefixer to jekyll-autoprefixer 4 years ago
README.md test drone upgrade 2 years ago
_config.yml Opdateret tekst og donation 4 months ago
docker-compose-deploy.yml freeze jekyll version 4 years ago
docker-compose.yml freeze jekyll version 4 years ago
googled7074ec4974cc1c7.html add google site verification 4 years ago
htaccess Endnu bedre shortlink 4 months ago
mail.php Forsøger at lave php file_put til signup 2 1 year ago
signup.csv Forsøger at lave php file_put til signup 1 year ago

README.md

Build Status

Jekyll site for ulovliglogning.dk

To work on the code, either

Use docker

You need docker-compose. Simply run docker-compose up to launch the site in a docker container with livereload support.

Or install Jekyll locally

Install Jekyll and Bundler gems through RubyGems

gem install jekyll bundler

Install dependencies

bundle install

Build the site local

bundle exec jekyll serve

You can now see the site at localhost:4000

Deploy

If not using Docker, it's important that you build the site with JEKYLL_ENV=production bundle exec jekyll build before deploying the contents of the _site directory. We're doing some debugging stuff when the project is build in the development env.

Deploy to FTP with Docker

Make sure that you have created a file in _scripts/ called config.sh, (protip: just duplicate the config-example.sh file, and set the correct values, you should only need to change username and password.) Then you can build the site ande deploy it by running docker-compose -f docker-compose-deploy.yml up

This will execute a Docker container and do the following:

  1. Build the site but fail if there are any Frontmatter errors
  2. Upload the contents of the _site/ directory to the FTP server
  3. That's it…

Structure

The contents of the index pages is defined in the frontmatter of the files _pages/index-<language>.md