27
0
Fork 1
forked from mirror/Mainroad
Commit graph

227 commits

Author SHA1 Message Date
fb786bc6db parse go templates in customCSS 2025-02-19 19:07:20 +00:00
bbb8b7f5c8 Remove authorbox from post pages 2025-02-19 19:07:20 +00:00
cb4d76c04e logo: allow specifying alt text 2025-02-19 19:07:20 +00:00
7f44ee734f extend footer with commit and ref 2025-02-19 19:07:20 +00:00
f8943403ec extend head with keywords and norobots stuff 2025-02-19 19:07:20 +00:00
qnpati
d0894580e1 nixies 2025-02-19 19:07:20 +00:00
e1ff8c0f8c implement multilang 2025-02-19 19:07:20 +00:00
0365a26f4a minify js 2025-02-19 19:07:20 +00:00
0660e6a10f open side menu links in new tab 2025-02-19 19:07:20 +00:00
5969e6556f minify stylesheets 2025-02-19 19:07:20 +00:00
a8f1053d7e Add external link feature
Menu entries to internal pages have access to the .Page method, so use
that to discriminate.
2025-02-19 19:07:20 +00:00
23a03b2ba9 Drop footer credits 2025-02-19 19:07:20 +00:00
a484f0788d Remove CDN garbage 2025-02-19 19:07:20 +00:00
a4cf6f482b Fix indentation and whitespace
According to .editorconfig
2025-02-18 21:25:12 +00:00
Mansoor Barri
67b8fa144b
Merge pull request from natrius/beautifyAuthorbox
beautifying the authorbox
2025-01-14 16:14:04 +00:00
Stefan
0e825040ea make authors appear above posts and in the paginator again 2025-01-14 14:09:52 +01:00
Stefan
d40434b651 beautifying the authorbox 2025-01-12 16:30:12 +01:00
Mansoor Barri
d669a983d1
Merge pull request from mansoorbarri/multiauthor
add multiauthor feature
2025-01-10 20:14:09 +00:00
Mansoor Barri
52e1359ce2
add multiauthor 2025-01-10 11:37:14 +00:00
ski
53ef0fd6a5 Adding a parameter to change the pagination on the index 2025-01-10 11:09:21 +01:00
Mansoor Barri
6ce82ca427
add option to add custom code in <head> | issue'40 2025-01-09 15:18:07 +00:00
Mansoor Barri
615981b9ad
modularise head.html 2025-01-09 15:13:10 +00:00
stoic-hugo
9f0eef23e8
Update search.html 2025-01-09 10:24:32 +03:00
Mansoor Barri
bf2f2c4d2c
add bluesky to socials widget | issue#31 2025-01-08 14:01:24 +00:00
Stefan
833a3ccbf3 Added mastodon svg and link and corrected the discourse-link 2025-01-07 17:18:22 +01:00
Stefan
d99039b03d Added discourse svg and setting in social widget 2025-01-07 16:39:27 +01:00
Mansoor Barri
f8579e0d97
replace twitter with x 2025-01-05 15:49:47 +00:00
Schorsch
29bf19630d
Update languages.html
Solve https://github.com/Vimux/Mainroad/issues/378
2025-01-04 15:27:43 +01:00
Mansoor Barri
aeb30b0e38
fix issue 2025-01-04 06:43:16 +00:00
Mansoor Barri
9f52897b93
update examplesite 2025-01-04 06:00:28 +00:00
Vimux
86f1b1987c
BREAKING CHANGE: fix Hugo's .Site.IsServer error ()
As of Hugo 0.120.0, `.Site.IsServer` is deprecated, and starting with Hugo 0.132.0, it causes a build error. Unfortunately, this is a breaking upstream change that we can't "fix" on our end. As a result, we had to raise the minimum supported version to v0.54.0 and implement another workaround to ensure compatibility with older versions, not just Hugo v0.120.0 and all subsequent versions.

Fix 
2024-08-20 12:00:03 -04:00
vimux
4955cdf09f
Reshape + optimize time.svg icon (262 → 227) 2024-04-03 12:25:19 -04:00
vimux
b92f2550b6
Reshape + optimize tag.svg icon (300 → 222) 2024-04-03 12:25:11 -04:00
vimux
7898810280
Optimize files.svg icon (372 → 266) 2024-04-03 10:34:51 -04:00
vimux
32ec56da72
Reshape + optimize email.svg icon (244 → 170) 2024-04-03 10:25:54 -04:00
vimux
ec5180b69b
Optimize category.svg icon (149 → 145) 2024-04-03 10:17:52 -04:00
vimux
badb426954
Reshape + optimize author.svg icon (245 → 209) 2024-04-03 10:16:22 -04:00
Vimux
de57543354
Improve search widget styling ()
Slightly improve search widget in several areas, mostly look and feel. Nothing fancy, just light touches here and there.

* СSS:
	* Increase font size (11px → 13px)
	* Use pixels for paddings
	* Always outline search input field on focus
* i18n: use capitalized notation for search text
* Remove empty label
2024-01-10 12:41:12 -05:00
Vimux
f6792dab55
Fix deprecated config params (GA, Disqus) ()
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
4ddcf52ccc
2023-12-12 11:32:32 -05:00
Vimux
4a730e9c6c
Remove X-UA-Compatible meta tag ()
As of IE11, "document modes are deprecated and should no longer be used."

Background:
This meta tag is only relevant to the Internet Explorer browser family. IE has
different modes for displaying web pages, allowing you to view HTML pages using
previous versions of rendering rules. `IE=edge` tells Internet Explorer to use
the latest available document mode. However, it is a default mode (IE11) for the
HTML5 doctype declaration.
2023-11-28 08:22:17 -05:00
vimux
ce70016f67
Remove google_analytics_async.html include
The internal Hugo template `google_analytics_async.html` no longer works because Google has removed
the version of Google Analytics it uses. The regular internal template (google_analytics.html)
already handles Google Analytics 4 asynchronously.
2023-11-16 11:39:35 -05:00
vimux
903ae2d032
Localize post meta dates with time.Format function
* Use time.Format function (via `dateFormat` alias) to format post meta dates. It allows dates to be localized easily (with weekdays and months in the current language). Hugo v0.87.0 or later is required.
* Use old default format to preserve compatibility with older versions of Hugo

References:
- https://gohugo.io/functions/dateformat/
- https://gohugo.io/news/0.87.0-relnotes/
2023-05-31 03:18:47 -04:00
vimux
aa33965522
Add widget caching
* Add widget caching via partialCached
* Update README.md: add cached param
* Update customization guide: add widget caching section
2023-04-06 11:27:59 -04:00
Thomas Levesque
7afd8fb73b
Support rel=false to not emit the rel attribute 2022-11-23 23:06:14 -05:00
Thomas Levesque
4e6aae1c0f
Support custom rel attribute in custom social link 2022-11-22 20:52:48 -05:00
vimux
68e677f170
Merge two search widgets into one
* search.html widget: add configurable params (`url`, `input.name`, `input.pre`)
* ddg-search.html: add deprecation warning
* Add search box customization guide
* Update README: add `params.widgets.search` example
* Update README: remove mentions of ddg-search widget
2022-08-18 12:12:20 -04:00
vimux
50b32bd106
Update baseof template: wrap partials into blocks 2021-12-29 10:27:15 -05:00
vimux
c428434c6c
Add thumbnail visibility param
Initial revision of thumbnail visibility control allows you to turn off
thumbnails for list-like or single pages globally and per page.

Fixes 
Closes 
2021-09-09 13:57:38 -04:00
vimux
63d6357498
Split up thumbnail into separate partial 2021-09-07 12:17:45 -04:00
Oleg Lomaka
47885bd3ec Add support for Google Analytics 4 2021-04-11 07:56:56 +03:00