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 53e1d36b71 Opdateret tekst og forsøgt at udkommentere nyhedsbrevs-tilmelding 1 month ago
_data Ret et par typos 3 years ago
_includes Opdateret twitter-card til ny størrelse og Montserrat. QR-kode nu med foreslået beløb på 200 kr. 1 year ago
_layouts Opdateret tekst og forsøgt at udkommentere nyhedsbrevs-tilmelding 1 month ago
_pages Opdateret tekst og forsøgt at udkommentere nyhedsbrevs-tilmelding 1 month ago
_plugins first try at a donation counter 3 years ago
_scripts fix broken file paths 1 year ago
_scss fix broken file paths 1 year ago
assets Opdateret efter retsmøder 1 month ago
booklet Remove automatic formatting… 2 years ago
dynamic/signup f*cking ;;;;;;;;;;;,'s 3 years ago
.drone.yml add drone config and Dockerfile 1 year ago
.gitignore Retter tab til space 1 month ago
Dockerfile out comment rewrite debug 1 year ago
Gemfile Moved jekyll-autoprefixer to jekyll_plugins 3 years ago
Gemfile.lock Changed octopress-autoprefixer to jekyll-autoprefixer 3 years ago
README.md test drone upgrade 1 year ago
_config.yml Opdateret til beløb der matcher regnskabet og kontobevægelser 2021-01-04 til dd 1 month ago
docker-compose-deploy.yml freeze jekyll version 2 years ago
docker-compose.yml freeze jekyll version 2 years ago
googled7074ec4974cc1c7.html add google site verification 3 years ago
htaccess Bedre kortlink til materialesamling 1 month ago
mail.php Forsøger at lave php file_put til signup 2 1 month ago
signup.csv Forsøger at lave php file_put til signup 1 month 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