Skip to content

Commit 1d16e89

Browse files
committed
feat: add keywords to config
1 parent 2faa86f commit 1d16e89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ The following options are available:
4141
- `theme_color:` sets the main accent color for buttons, links, etc. It can be <nobr><code class="highlighter-rouge" style="color:#c52f21">red</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#d92662">pink</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#c0208a">fuchsia</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#9136a3">purple</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#7540be">violet</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#524ed1">indigo</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#2060de">blue</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#0172ac">azure</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#047878">cyan</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#007a50">jade</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#398712">green</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#a5d601">lime</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#f2df0d">yellow</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#ffbf00">amber</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#ff9500">pumpkin</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#d24317">orange</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#ccc6b4">sand</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#ababab">grey</code>,</nobr> <nobr><code class="highlighter-rouge" style="color:#646b79">zinc</code> or <nobr><code class="highlighter-rouge" style="color:#525f7a">slate</code>.</nobr> The default value is <nobr><code class="highlighter-rouge" style="color:#0172ac">azure</code>.
4242
- `title:` sets the title of the site. If not set, your repository name will be used.
4343
- `description`: sets the meta description tag, which typically contains a concise, relevant summary of the page’s content.
44+
- `keywords`: sets keywords for the page, separated with commas.
45+
- `gtag`: sets your Google Analytics tag if needed (e.g. G-A1BCDEFGHI).
4446

4547
Alternatively, you can copy the contents of the `_config.yml` file from the [theme repository](https://github.com/devich/quick/blob/main/_config.yml) into your own `_config.yml` file. This will give you access to all available options at once.
4648

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ theme_color: azure
77
title: Quick
88
description: Quick. The fastest and easiest way to make a GitHub Pages website for your project.
99
keywords: github pages, github readme, github pages theme, jekyll theme, landing page
10-
gtag: G-X7HSHVZDZT #Google Analytics tag (e.g. G-A1BCDEFGHI)
10+
gtag: G-X7HSHVZDZT # Google Analytics tag (e.g. G-A1BCDEFGHI). Please replace it with YOUR tag.
1111

1212
# If you're using devich/quick as your GitHub Pages remote theme,
1313
# there's no need to copy the options listed below.

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{% endif %}
2222
<meta name="color-scheme" content="light dark" />
2323
<meta name="description" content="{{ site.description }}" />
24-
<meta name="keywords" content="" />
24+
<meta name="keywords" content="{{ site.keywords }}" />
2525
<meta property="og:title" content="" />
2626
<meta property="og:type" content="" />
2727
<meta property="og:url" content="" />

0 commit comments

Comments
 (0)