According to the Jekyll documentation, anything in the directory tree outside the “special” directories (all of which start with an underscore) will be copied to the destination verbatim.
For our static dir, this means anything in there will end up in the artifacts twice, e.g. both as static/foo/bar and as foo/bar. This might be undesirable if the static dir is large (e.g. if this is used to host large downloads).
The clean way would be to move the contents of static right into the root dir, and drop the extra copy step in CI. I did this in a project I have forked from this repo, and it works without any issues.
@marcia asked to be pinged for review... here you go
This turns the Portfolio page into a lightbox: clicking an image will open its enlarged version, and users can navigate through images. Version 2.13.0 allows swiping in addition to back/forward buttons.
This is essentially a backport from the original Start Bootstrap theme at https://github.com/StartBootstrap/startbootstrap-creative, which added this in 71a04770.
In addition to backporting this functionality, I upgraded SimpleLightbox from 2.1.0 to 2.13.0 and added full-size versions of the stock images to better illustrate the functionality.
The originals of the images used in the Portfolio section were taken from https://pxhere.com/ and are under CC-0, thus they should be OK to use here.
For a demo, see https://mvglasow.gitlab.io/creative/
assets for images
Marcia,
This project is really nice and I have it working happily on GitLab and gradually learning a bit - but I want to work mostly on my local machine because CI is so slow - however when I try and run the server locally with a _config_dev.yml I get these results:
Server running... press ctrl-c to stop.
[2019-07-23 01:49:47] ERROR `/font-awesome/css/font-awesome.min.css' not found.
[2019-07-23 01:49:47] ERROR `/css/bootstrap.min.css' not found.
[2019-07-23 01:49:47] ERROR `/css/animate.min.css' not found.
[2019-07-23 01:49:47] ERROR `/css/material.css' not found.
[2019-07-23 01:49:47] ERROR `/js/jquery.js' not found.
[2019-07-23 01:49:47] ERROR `/js/jquery.fittext.js' not found.
[2019-07-23 01:49:47] ERROR `/js/bootstrap.min.js' not found.
[2019-07-23 01:49:47] ERROR `/js/jquery.easing.min.js' not found.
[2019-07-23 01:49:47] ERROR `/js/wow.min.js' not found.
[2019-07-23 01:49:47] ERROR `/js/creative.js' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/1.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/3.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/2.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/4.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/5.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/portfolio/6.jpg' not found.
[2019-07-23 01:49:47] ERROR `/img/eels_tigers.png' not found.
Is there a simple fix for this? I couldn't get any combinations of baseurl etc to work . .
Thanks, Phil.
title: Al's Footy Tipping Site
email:
description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://localhost:4000/" # the base hostname & protocol for your site
twitter_username: ""
github_username: ""
markdown: kramdown
exclude: ["README.md", "LICENSE"]
When I clone project and run;
jekyll build -d public/
jekyll serve
I saw arbitrary command in .gitlab-ci.yml I follow the rabbit who is white one..
CSS isn't copyed by default in public dir, but already in there in subpath /static, - cp -r static/* public/ => These one is arbitrary.
Accidentally pointed to your branch instead of mine. Sorry and thanks!
Wow, thanks @cagataycali, I never saw you MR before.
There are a lot of stuff changed in this MR, would you mind explaining them? Thanks!
Marcia Ramos (48f04918) at 16 Feb 22:51
use latest ruby image