1
0
mirror of https://github.com/devolitalia/forty-jekyll-theme synced 2025-02-16 03:30:37 +01:00
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
2017-05-24 21:58:12 -04:00
2018-09-09 17:13:48 +00:00
2020-01-13 01:46:18 +00:00
2016-08-25 14:05:54 -04:00
2016-11-21 23:00:20 -05:00
2016-11-22 00:24:19 -05:00
2016-08-25 14:05:54 -04:00
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.

Description
il codice del sito ufficiale dei devol. Il tema grafico è per il CMS Statico Jekyll
https://devol.it
Readme 30 MiB
Languages
SCSS 65.6%
JavaScript 19.9%
HTML 11.2%
CSS 2.5%
Ruby 0.8%