Inspired by Linktree and others, but you should be able to control your page for free. Just getting started and will add more notes soon.
This is free for you to fork, reuse, update this template, etc. First you will need to clone and install the dependencies. This is built using NodeJS and 11ty.
$ git clone [email protected]:cjerrington/MyLinks.git
$ cd MyLinks
$ npm run installThese commands assume you're in a unix environment, but they should work anywhere npx/npm is available.
To test the site locally you can serve the pages. As you make changes to your template your browser will auto reload as well.
$ npx @11ty/eleventy --serveOnce happy with your links, you can build you site, and then upload the _site directory to your hosting.
$ npx @11ty/eleventy- Update your site settings in the
_data/site.jsonfile - Update your links in the
_data/links.jsonfile.
For the links, you can adjust the style based on the bulma styling classes
{
"name": "Website",
"href": "https://claytonerrington.com",
"style": "is-success"
}- Look into building with GitHub Actions and deploy
- Look into building with Netlify and deploy
- Update CSS to use SASS with Bulma to create themes
- Bring CSS back local
- Update
site.jsonwith page coloring and other preferences.
Any and all contributions are welcome! This is a simple project for me to help others out and get introduced to 11ty (eleventy) for something and different from Jekyll.