diff --git a/blog/themes/anubis.sh b/blog/themes/anubis.sh
new file mode 100644
index 0000000..94609a7
--- /dev/null
+++ b/blog/themes/anubis.sh
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+sed -i 's/href="{{ (print /href="\/{{ (print /' ./anubis/layouts/_default/terms.html
+sed -i 's/href="{{ "categories/href="{{ "\/categories/' ./anubis/layouts/partials/post-info.html
+sed -i 's/href="{{ "tags/href="{{ "\/tags/' ./anubis/layouts/partials/post-info.html
diff --git a/blog/themes/anubis/README.md b/blog/themes/anubis/README.md
index b5aa30d..763cf99 100644
--- a/blog/themes/anubis/README.md
+++ b/blog/themes/anubis/README.md
@@ -1,7 +1,9 @@
-# Anubis Theme for Hugo [](https://opensource.org/licenses/MIT) [](https://www.paypal.com/paypalme/mitrichius/1)
+# Anubis Theme for Hugo [](https://opensource.org/licenses/MIT) [](https://app.netlify.com/sites/hugo-theme-anubis/deploys) [](https://www.paypal.com/paypalme/mitrichius/1)
Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/).
+[Demo](https://hugo-theme-anubis.netlify.app/)
+

## Features
@@ -119,7 +121,7 @@ Options:
- `auto-without-switcher` - theme based on user system settings, without switcher, JS-free
- `light` - light theme by default, can be switched by user to dark theme and back. Theme settings are saved for user
- `dark` - dark theme by default, can be switched by user to light theme and back. Theme settings are saved for user
-- `auto` - theme based on user system settings by default, can be switched by user to dark/light theme. Theme settings are saved for user
+- `auto` - theme based on user system settings by default, can be switched by user to dark/light theme. Theme settings are saved for user (by default in example sites)
### Social icons
#### Predefined icons
@@ -167,9 +169,7 @@ Icon should be "static/fa-icons/google.svg"
If you want font awesome icons, download "Font Awesome For Desktop" and open svg directory.
### Google Analytics
-Only works for production environment. You either build your site with variable like
-`HUGO_ENV=production hugo --minify`
-or just put `env: production` to `params` section of config.
+Only works for production environment.
### Multilingual mode
Check config/example usage in [exampleSiteMultilingual](https://github.com/Mitrichius/hugo-theme-anubis/tree/master/exampleSiteMultilingual) directory and documentation on [Hugo site](https://gohugo.io/content-management/multilingual/).
diff --git a/blog/themes/anubis/assets/css/main.css b/blog/themes/anubis/assets/css/main.css
index 6400a64..fddb583 100644
--- a/blog/themes/anubis/assets/css/main.css
+++ b/blog/themes/anubis/assets/css/main.css
@@ -143,8 +143,6 @@ th, td {
/* Code */
pre {
- color: var(--pre-color);
- background-color: var(--pre-bg-color);
padding: 1em;
max-width: 100%;
overflow: auto;
@@ -153,6 +151,8 @@ pre {
code,
pre,
kbd {
+ color: var(--pre-color);
+ background-color: var(--pre-bg-color);
font-family: monospace;
font-size: 0.90em;
line-height: 154%;
@@ -298,6 +298,10 @@ main h1 {
color: var(--link-state-color);
}
+.post-short-list .post-title {
+ display: inline;
+}
+
.post-title.favorite::after {
content: "☆";
display: inline-block;
diff --git a/blog/themes/anubis/exampleSite/config.toml b/blog/themes/anubis/exampleSite/config.toml
index 6090459..4ff657b 100644
--- a/blog/themes/anubis/exampleSite/config.toml
+++ b/blog/themes/anubis/exampleSite/config.toml
@@ -15,7 +15,7 @@ author = "Dmitry Kolosov"
description = "Anubis is a simple minimalist theme for Hugo blog engine."
dateFormat = "2006-01-02"
paginationSinglePost = true
-style = "light-without-switcher"
+style = "auto"
readMore = false
# utteranc.es support
diff --git a/blog/themes/anubis/exampleSite/content/post/rich-content.md b/blog/themes/anubis/exampleSite/content/post/rich-content.md
index 407c539..71a36e1 100644
--- a/blog/themes/anubis/exampleSite/content/post/rich-content.md
+++ b/blog/themes/anubis/exampleSite/content/post/rich-content.md
@@ -23,7 +23,7 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
## Twitter Simple Shortcode
-{{< twitter_simple 1085870671291310081 >}}
+{{< tweet user="DesignReviewed" id="1085870671291310081" >}}
diff --git a/blog/themes/anubis/exampleSiteMultilingual/config.toml b/blog/themes/anubis/exampleSiteMultilingual/config.toml
index d4955b7..388fcc0 100644
--- a/blog/themes/anubis/exampleSiteMultilingual/config.toml
+++ b/blog/themes/anubis/exampleSiteMultilingual/config.toml
@@ -16,7 +16,7 @@ author = "Dmitry Kolosov"
description = "Anubis is a simple minimalist theme for Hugo blog engine."
dateFormat = "2006-01-02"
paginationSinglePost = true
-style = "light-without-switcher"
+style = "auto"
readMore = false
# utteranc.es support
diff --git a/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.md b/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.md
index 407c539..71a36e1 100644
--- a/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.md
+++ b/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.md
@@ -23,7 +23,7 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
## Twitter Simple Shortcode
-{{< twitter_simple 1085870671291310081 >}}
+{{< tweet user="DesignReviewed" id="1085870671291310081" >}}
diff --git a/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.pl.md b/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.pl.md
index 407c539..71a36e1 100644
--- a/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.pl.md
+++ b/blog/themes/anubis/exampleSiteMultilingual/content/post/rich-content.pl.md
@@ -23,7 +23,7 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
## Twitter Simple Shortcode
-{{< twitter_simple 1085870671291310081 >}}
+{{< tweet user="DesignReviewed" id="1085870671291310081" >}}
diff --git a/blog/themes/anubis/layouts/_default/single.html b/blog/themes/anubis/layouts/_default/single.html
index 0123dc9..94a711e 100644
--- a/blog/themes/anubis/layouts/_default/single.html
+++ b/blog/themes/anubis/layouts/_default/single.html
@@ -6,7 +6,7 @@
{{ end }}
{{ end }}
-
+