website - foo.be/art
Find a file
Meitar M b8721c353e
Fix relative paths to images when a permalink is used.
This commit uses the Jekyll `link` tag to correctly construct the URL to
images with otherwise relative paths. Without this logic, the images
would only load when the landing page's permalink was not altered by the
user. For example, if the permalink is changed to `get-started` in the
Jekyll Front Matter, the relative URLs would become:

    get-started/assets/images/pic08.jpg

However, since the `get-started` path doesn't really exist, this would
fail to load the image.

As of Jekyll 4.0, the `link` tag is safe to use without prepending
`site.baseurl`, so this code works in all situations.
2020-01-31 13:01:47 -05:00
_includes Add page titles to <title> element. 2020-01-30 19:20:58 -05:00
_layouts Bugfix for 404 page showing in All Pages list 2018-08-05 14:35:00 -04:00
_posts fixes images not resizing 2017-05-24 21:58:12 -04:00
_sass Fix #8 2018-09-09 17:13:48 +00:00
assets scss fixes and header text wrapping goodness 2017-05-16 20:28:50 -04:00
.gitignore Fix bug causing non-HTML pages to be displayed in tiles. 2020-01-12 20:31:35 -05:00
.gitlab-ci.yml Update .gitlab-ci.yml 2020-01-13 01:46:18 +00:00
404.md Fix Home, All Posts, and 404 pages displaying in tiles 2018-09-09 16:53:34 +00:00
_config.yml Bugfix for 404 page showing in All Pages list 2018-08-05 14:35:00 -04:00
all_posts.md Fix Home, All Posts, and 404 pages displaying in tiles 2018-09-09 16:53:34 +00:00
CONTRIBUTING.md initial commit 2016-08-25 14:05:54 -04:00
elements.md Fix relative paths to images when a permalink is used. 2020-01-31 13:01:47 -05:00
forty_jekyll_theme.gemspec Update forty_jekyll_theme.gemspec 2020-01-13 01:46:04 +00:00
Gemfile adds gem theme files 2016-11-21 23:00:20 -05:00
generic.md various fixes 2016-11-22 00:24:19 -05:00
index.md Fix Home, All Posts, and 404 pages displaying in tiles 2018-09-09 16:53:34 +00:00
landing.md Fix relative paths to images when a permalink is used. 2020-01-31 13:01:47 -05:00
LICENSE.md initial commit 2016-08-25 14:05:54 -04:00
README.md Fixed a typo 2019-06-13 02:38:58 +00:00

Forty - Jekyll Theme

A Jekyll version of the "Forty" theme by HTML5 UP.

Forty Theme

How to Use

For those unfamiliar with how Jekyll works, check out jekyllrb.com for all the details, or read up on just the basics of front matter, writing posts, and creating pages.

  • GitLab: Simply fork this repository and start editing the _config.yml file!
  • GitHub: Fork this repository and create a branch named gh-pages, then start editing the _config.yml file.

Added Features

  • Formspree.io contact form integration - just add your email to the _config.yml and it works!
  • Use _config.yml to set whether the homepage tiles should pull pages or posts, as well as how many to display.
  • Add your social profiles easily in _config.yml. Only social profiles buttons you enter in config.yml show up on the site footer!
  • Set featured images in front matter.

Issues

If you would like to report a bug, ask a question, request a feature, feel free to do so on the GitLab repository and I will be more than happy to help!

Alternatively, you can open an issue via email by emailing incoming+andrewbanchich/forty-jekyll-theme@incoming.gitlab.com.

The GitHub repository is simply a mirror of the GitLab repository.

Credits

Original README from HTML5 UP:

Forty by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)


This is Forty, my latest and greatest addition to HTML5 UP and, per its incredibly
creative name, my 40th (woohoo)! It's built around a grid of "image tiles" that are
set up to smoothly transition to secondary landing pages (for which a separate page
template is provided), and includes a number of neat effects (check out the menu!),
extra features, and all the usual stuff you'd expect. Hope you dig it!

Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
you can use for pretty much whatever.

(* = not included)

AJ
aj@lkn.io | @ajlkn


Credits:

	Demo Images:
		Unsplash (unsplash.com)

	Icons:
		Font Awesome (fortawesome.github.com/Font-Awesome)

	Other:
		jQuery (jquery.com)
		html5shiv.js (@afarkas @jdalton @jon_neal @rem)
		background-size polyfill (github.com/louisremi)
		Misc. Sass functions (@HugoGiraudel)
		Respond.js (j.mp/respondjs)
		Skel (skel.io)

Repository Jekyll logo icon licensed under a Creative Commons Attribution 4.0 International License.