Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
css
 
 
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

inlets.dev homepage

Netlify Status

Adding a new blog post

  • Create an issue and propose the topic. Wait for approval before contributing, unless you've already been asked to contribute a post.

  • Create a new YAML file in blog/_posts - see this example for how to set the post title and description.

  • Prefix it with the date.

  • Add images to /images/ - resize all images to under 200-300KB, for a faster page loading time

  • Make sure you have a cropped image for the background / title of the post, this will show up on the page roll-up at /blog/ - good sources for images are: unsplash.com and pexels.com

  • Sign-off any commits you make with git commit -s, this is not GPG or cryptography, but a simple declaration

  • Raise a Pull Request and fill out the whole template, including how you tested the page and the instructions.

If you use any copyrighted material such as text, code, or images, then you must credit the author.

Usage

Initial installation

You will need node.js in order to install yarn:

$ npm i -g yarn

You may need to run brew install/upgrade ruby if the bundle command is unavailable.

If it's still unavailable run:

$ gem install bundle

When you have the tools in place run:

$ bundle install
$ yarn install

$ yarn run tailwind init _includes/tailwind.config.js

For production:

JEKYLL_ENV=production bundle exec jekyll build

Content will be in _site

To start a preview, simply run:

bundle exec jekyll serve

Access the site at: http://127.0.0.1:4000/

Apple M1:

arch -arch x86_64 bundle install
arch -arch x86_64 bundle exec jekyll serve

About

Website and blog - inlets.dev

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •