···11-# Linus
11+---
22+layout: page
33+title: Using Linus
44+permalink: /about/
55+---
2633-A minimal Jekyll blog theme. Supports link posts, categories, tags, date archives, pagination, and dark mode out of the box.
44-77+Linus is a minimal blog theme for Jekyll. Supports link posts, categories, tags, archives (using [jekyll-archives](https://github.com/jekyll/jekyll-arcihves)) and dark mode out of the box.
58## Installation
69710Add this line to your Jekyll site's `Gemfile`:
···5154---
5255```
53565454-**Link posts** — set `title` to an empty string and provide a `source` URL. The post title renders as "↪ [fetched page title]" using `jekyll-url-metadata`:
5757+**Link posts**: you can have link posts by setting a `post.source` front-matter on your post. If the title is left empty (`""`), Jekyll will try to fetch the link metadata and render the link title as your post title.
55585659```yaml
5760---
···64676568### Authors
66696767-Define authors in `_data/authors.yml`:
7070+Authors follow the same approach as [jekyll-feed](https://github.com/jekyll-feed) and [jekyll-archives](https://github.com/jekyll/jekyll-archives). You can have an author object set in a post, or in the site `_config.yml`, or in a `authors.yml` data file.
7171+7272+In a post:
68736974```yaml
7070-arthur:
7171- name: Arthur Freitas
7272- uri: https://arthr.me/
7575+---
7676+layout: post
7777+title: My awesome first post
7878+author:
7979+ name: Author Name
8080+ uri: https://example.com
8181+ picture: /path/to/author-picture.jpg
8282+---
7383```
74847575-Reference them in post front matter with the `author` key.
8585+In your `_config.yml`:
76867777-### Category colors
8787+```yaml
8888+author:
8989+ name: Author Name
9090+ uri: https://example.com
9191+ picture: /path/to/author-picture.jpg
9292+```
78937979-Assign a background color to each category pill:
9494+You can also define authors in `_data/authors.yml`:
80958196```yaml
8282-category_colors:
8383- - name: Links
8484- color: "#f0e68c"
8585- - name: Notes
8686- color: "#fa8072"
9797+author_name:
9898+ name: Author Name
9999+ uri: https://example.com
100100+ picture: /path/to/author-picture.jpg
87101```
881028989-### Date formats
9090-9191-Customize how dates are displayed using strftime strings:
103103+Reference them in post front matter with the `author` key:
9210493105```yaml
9494-date_formats:
9595- day: "%b %d, '%y"
9696- month: "%b, '%y"
9797- year: "%Y"
106106+author: author_name
98107```
99108100109### Navigation menus
···126135127136```yaml
128137translations:
138138+ byline: "By"
129139 archive_date_title: "Archives from %date"
130140 archive_tag_title: "Posts tagged with %tag"
131141 archive_category_title: "Posts filed under %category"
···134144 blog_pagination_next_page: "Next page"
135145```
136146137137-### Pagination
147147+### Further options
148148+149149+Linus uses the following Jekyll plugins, which you can set up as you please. Refer to the plugins docs to learn how to change the way your site will handle pagination, archiving, feeds and SEO tags:
138150139139-```yaml
140140-paginate: 12
141141-paginate_path: "/pg/:num/"
142142-```
151151+- [jekyll-pagination](https://github.com/jekyll/jekyll-pagination)
152152+- [jekyll-archives](https://github.com/jekyll/jekyll-archives)
153153+- [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
154154+- [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap)
155155+- [jekyll-feed](https://github.com/jekyll/jekyll-feed)
156156+- [jekyll-json-feed](https://github.com/lildude/jekyll-json-feed)
143157144158## Customization
145159160160+### Date formats
161161+162162+Customize how dates are displayed using strftime strings:
163163+164164+```yaml
165165+date_formats:
166166+ day: "%b %d, '%y"
167167+ month: "%b, '%y"
168168+ year: "%Y"
169169+```
170170+146171### Custom styles
147172148173Override or extend the theme's CSS by creating `assets/css/theme.css` in your site. This file is loaded last, after all theme styles. Use it to redefine CSS custom properties or add new rules:
···152177 --font-body: Georgia, serif;
153178 --color-accent: tomato;
154179}
180180+```
181181+182182+#### Category colors
183183+184184+Assign a background color to each category pill:
185185+186186+```yaml
187187+category_colors:
188188+ - name: Links
189189+ color: "#f0e68c"
190190+ - name: Notes
191191+ color: "#fa8072"
155192```
156193157194### Custom fonts