Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jotonedev committed Feb 26, 2024
1 parent c7f8842 commit 5cd7ed2
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Tallneck

Tallneck is a Jeckyll theme for my personal blog. The name was inspired from one of the machines on my favorite game, Horizon Zero Dawn.
Tallneck is a Jekyll theme for blogs. It is a simple and clean theme with a focus on the responsiveness. Also js free.

## Preview

Main branch: [main](https://jekyll-theme-tallneck.pages.dev/)
Dev branch: [dev](https://dev.jekyll-theme-tallneck.pages.dev/develop)

## Installation

Expand All @@ -18,37 +23,42 @@ theme: jekyll-theme-tallneck
And then execute:
$ bundle
```bash
bundle
```

Or install it yourself as:

$ gem install jekyll-theme-tallneck
```bash
gem install jekyll-theme-tallneck
```

## Usage

### Customization

Create a folder named `assets` in your Jekyll site's root directory.
Then create a folder named `images` inside the `assets` folder and put a replacement for the default banner image named `banner.png` (1200x630) inside it.
Then create a folder named `images` inside the `assets` folder and put a replacement for the default image named `default.webp` or change its name in the `_config.yml` file.

After that, replace the `favicon.ico` and `favicon.svg` file in the root directory with your own favicon.
Then, configure the various plugins and the theme in `_config.yml` to your liking (you can use the [config](/_config.yml) file in this repo as a template).

Then, configure the various plugins in `_config.yml` to your liking. The plugins are:
The preinstalled plugins are:

- [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
- [jekyll-toc](https://github.com/toshimaru/jekyll-toc)
- [jekyll-feed](https://github.com/jekyll/jekyll-feed)
- [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap)

### Main pages

Create at the root of your Jekyll site the following pages:
Create at the root of your Jekyll site the following pages (like in this repo):

- `index.md`, which will be the Home page and set the permalink to `/`
- `about.md`, which will be the About page and set the permalink to `/about`
- `contact.md`, which will be the Contact page and set the permalink to `/contact`
- `cookie.md`, which will be the Cookie Policy page and set the permalink to `/cookie`
- `privacy.md`, which will be the Privacy Policy page and set the permalink to `/privacy`
- `terms.md`, which will be the Terms of Service page and set the permalink to `/terms`
- `feed.md`, which will be Posts page and set the permalink to `/feed`.
- `projects.md`, which will be the Projects page and set the permalink to `/projects`

Also create the file `404.html` with the following content:

Expand All @@ -65,13 +75,11 @@ To create a new post, add a markdown file in the `_posts` directory and add at t

```yaml
---
layout: post
layout: post # Optional, post is default
title: "First post!"
subtitle: "Written in Go."
subtitle: "Written in Go." # Optional
date: 2023-01-16 17:40:28 +0100
image:
path: /assets/images/golang.jpg
alt: golang logo
image: /assets/images/golang.jpg # Optional
---
```

Expand All @@ -82,12 +90,11 @@ To set up your environment to develop this theme, run `bundle install`.
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `jotone_theme.gemspec` accordingly.

## License

The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Credits

Some of the code was inspired by the [Minima Theme](https://github.com/jekyll/minima). [Minima license](https://github.com/jekyll/minima/blob/master/LICENSE.txt).
Some of the css code was inspired from the [Minima Theme](https://github.com/jekyll/minima). [Minima license](https://github.com/jekyll/minima/blob/master/LICENSE.txt).

0 comments on commit 5cd7ed2

Please sign in to comment.