Aditya Telange
9d478913ec
Update README.md
...
replace unseen emoji
2021-01-08 23:35:00 +05:30
Aditya Telange
bd4a118afa
rm unnecessay color to box-shadow for anchors
2021-01-08 22:53:04 +05:30
Aditya Telange
3b0997fc42
fix margin when hljs was disabled
2021-01-08 22:52:03 +05:30
Aditya Telange
905640ceef
increase blockquote thickness inside post
2021-01-08 20:38:00 +05:30
Aditya Telange
09de369d2f
update fuse.js to v6.4.6
...
credits: https://github.com/krisk/Fuse/releases/tag/v6.4.6
2021-01-06 01:52:22 +05:30
Roman Ispaev
3b5c7faaec
fix wrong asset links on multihost config ( #126 )
...
CORS issue for multidomain setup (#168 )
2021-01-06 01:51:43 +05:30
Weichen Liu
946cc1ffe3
single: Add post description ( #165 )
...
usage =>
in post params add :
description: "Desc Text."
2021-01-02 22:30:20 +05:30
Aditya Telange
5d6de5ecb1
post-single(css): fix scroll-bar in code
...
hiding background
2020-12-31 17:01:26 +05:30
Tomás Dias Almeida
bfb5019cbc
Code block / blockquote / hr should respect the margin layout ( #154 )
...
* Code block should respect the margin layout
* Blockquote should respect the margin layout
* align others elements to main width with minors mods
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-31 16:11:18 +05:30
Aditya Telange
d53671786c
social-icons: add reddit icon #163
...
credits for svg: https://iconmonstr.com/reddit-1-svg/
LICENSE: https://iconmonstr.com/license/
2020-12-31 11:05:08 +05:30
Aditya Telange
e000675275
social-icons: add nuget icon & refactor code #163
...
credits for svg: https://commons.wikimedia.org/wiki/File:NuGet_project_logo.svg
This file is licensed under the Creative Commons Attribution 2.0 Generic license.
2020-12-31 11:05:08 +05:30
Aditya Telange
3d88f46f33
Update README.md
2020-12-30 21:37:26 +05:30
Aditya Telange
b825b7f27c
post-single: Fix embeded gist colors
...
fixes : #161
2020-12-29 18:12:15 +05:30
Aditya Telange
2b7d2dd493
reset: scroll-bar: set only on devices > 768px
...
default style to others
2020-12-29 18:10:18 +05:30
Aditya Telange
0e9ca244dc
fotter: fix Links do not have a discernible name for go-to-top btn
2020-12-29 17:03:22 +05:30
Aditya Telange
c9fa6c7915
cover: granular controls for hiding cover image #156
...
in site config =>
params:
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
per-page in front-matter =>
hidden: true # only hide on current single page
2020-12-29 16:44:03 +05:30
Aditya Telange
e252e761f5
footer: allow disabling HLJS #143
...
usage =>
in site config =>
params:
assets:
disableHLJS: true
per-page in front-matter =>
disableHLJS: true
2020-12-29 16:39:23 +05:30
Aditya Telange
838e607122
head: rm invalid rel="preload" on search assets
2020-12-27 22:39:03 +05:30
Aditya Telange
4389e03df9
baseof: pass .Layout
...
for 0f994eee95/layouts/partials/footer.html (L21)
2020-12-27 22:31:14 +05:30
Aditya Telange
0f994eee95
footer: change scroll behaviour as it was before 80954de
...
fixes #151
anchored-headings: retain anchor link '#' in URL
cc #108
footer: remove '#' with go-to-top
Revert "anchored-headings: retain anchor link '#' in URL"
This reverts commit 80954de8bd
.
Revert "footer: rm unused code"
This reverts commit c76233b350
.
2020-12-24 13:00:58 +05:30
Aditya Telange
7c53c14c85
Update theme.toml
...
change homepage to demo website
2020-12-23 16:44:32 +05:30
Aditya Telange
aeaa60d9b6
reset(css): rm -webkit-appearance
...
fixes : #150
2020-12-23 16:36:19 +05:30
pacientes
a36d045214
post-single(css): add image center align tag ( #145 )
...
usage in markdown =>
![name](path/to/image.png#center)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-23 16:34:01 +05:30
Maurice Bauer
8933950217
i18n: Added missing german (de) translation ( #147 )
2020-12-23 13:09:20 +05:30
Aditya Telange
b4933eadd6
header: use .KeyName for accesskey search
...
in menu
- .Name doesn't work with emojis
- .URL doesn't work with url such as 'search/'
2020-12-18 22:50:04 +05:30
Aditya Telange
6c83df566c
header: add accesskey (Alt + /) for search
...
in menu
- Alt + /: jumps to search page if in menu
2020-12-18 22:05:02 +05:30
Aditya Telange
bccce36c98
search: use kb nav only inside searchbox
...
rm 'prevent mouseclick to change active element'
2020-12-18 21:25:34 +05:30
Aditya Telange
a150c3449a
Link AccessKeys shortcut in title of elements
2020-12-18 20:02:05 +05:30
Aditya Telange
23aeda369c
head: trim whitespace from canonicalURL
...
- amend to 14c5245
2020-12-18 11:58:16 +05:30
Aditya Telange
b7f8749cdf
Search: Keyboard Bindings for easier navigation ( #138 )
...
* set up basic actions on keypress
* add actions to perform conditionally
* add simple highlight animation
* prevent mouseclick to change active element
* clear input box on Escape
* click on Arrow Right
* clear results and focus search-input on esc
* refactor
2020-12-18 11:45:10 +05:30
Maciej Sawicki
d6b2282582
templates: Fix series detection in opengraph
...
When inside front matter you specified series with spaces,
then the opengraph template wouldn't detect other articles,
because in `.Site.Taxonomies.series` they are stored by
urlized key.
Example:
```yaml
series:
- My Series
```
```gohtml
{{/* in a template */}}
{{- $series := index .Site.Taxonomies.series$name }}
{{/* was resolved to */}}
{{- $series := index {'my-series': ...} "MySeries" }}
```
(cherry picked from commit d2d493ab5d6a054001a8448ea0de2949dac4b30e)
2020-12-16 18:07:59 +05:30
Aditya Telange
f5417ab6d0
Update README.md
2020-12-16 00:01:44 +05:30
Cody Brownstein
2abc278c69
head: Fix user defining canonical URL resulting in multiple canonical URLs ( #133 )
...
* Revert "head: add support for Canonical URLs"
This reverts commit 8af7c551ff
.
* Allow user to specify single canonical URL
2020-12-15 22:59:04 +05:30
Aditya Telange
77ff1e6b45
search: introduce loading custom fusejs options from site config #134
...
* refer https://fusejs.io/api/options.html for opts
* keys used can be some, all or none from
["title", "permalink", "summary", "content"]
in config.yml, add fuseOpts as shown below =>
params:
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
2020-12-15 18:57:42 +05:30
Kian Kasad
f9236d92af
shortcodes: figure: don't use h4 tag in figure captions ( #127 )
...
* avoiding h4 tags in figcaption elements
* picked from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/figure.html
* figure.html is licensed under Apache License 2.0 and is part of https://github.com/gohugoio/hugo
2020-12-15 17:52:04 +05:30
Aditya Telange
09aba49bf0
header: rm class attributes [WIP]
...
from hugov0.79.0
2020-12-13 22:29:06 +05:30
Aditya Telange
bf79c208ae
layouts: use hugo.IsProduction
2020-12-13 20:19:25 +05:30
Aditya Telange
153740bbac
header: add title attribute to menus
2020-12-13 20:17:01 +05:30
Aditya Telange
73de54e4bc
update theme meta
...
- add search
2020-12-13 20:01:54 +05:30
Aditya Telange
14c524539b
Remove whitespace around urls wherever applicable
...
- corrects mistyped urls with leading or trailing whitespaces
2020-12-13 16:56:41 +05:30
Aditya Telange
8af7c551ff
head: add support for Canonical URLs
...
cc: #104
usage =>
in site config.yml (used for home page only) =>
canonical: ["https://www.example.com " , "https://blog.example.com "]
in per-page vars =>
canonical: ["https://www.example.com/page1 " , "https://blog.example.com/pages/page1 "]
2020-12-13 16:36:30 +05:30
Aditya Telange
b7f5dd10f1
language-switch: humanize only Lang code
...
- displays weird text :/
- amend to ad11fe1
2020-12-11 17:20:50 +05:30
Aditya Telange
d74ad93c18
head: add *.css under assets/css/extended/
...
to bundle it with stylesheet.css as single resource minified
- added to the end so that default vars are overriden properly
2020-12-11 18:22:21 +05:30
Kian Kasad
5e40132673
single: add support for custom taxonomy URLs ( #125 )
...
* fix URLs of tags in tag lists
* use recommended code by hugo for tag list generator
* https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template
* closes : #113
2020-12-11 11:28:09 +05:30
Aditya Telange
9c09564590
header: fix trailing slash '/' in menu URL
...
closes #122
2020-12-11 00:18:08 +05:30
Kian Kasad
7352aedb34
README: make non-executable ( #106 )
...
Readme isn't an executable, so the executable permission should be disabled.
2020-12-10 21:09:16 +05:30
pacientes
11c3230214
social-icons: add svg for kakaotalk ( #115 )
...
credits for svg: https://www.flaticon.com/free-icon/kakao-talk_2111683
Flaticon License: Free for personal and commercial purpose with attribution.
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-08 18:19:07 +05:30
Aditya Telange
db38e156f5
footer: hljs: add check to not load hljs on archive and search
2020-12-08 00:16:11 +05:30
Aditya Telange
08e58f5f77
head: commonize stylesheet resource
2020-12-07 22:59:51 +05:30
Aditya Telange
91bc0acfa9
Update README.md
2020-12-06 22:31:18 +05:30