Commit Graph

433 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Aditya Telange
9c09564590
header: fix trailing slash '/' in menu URL
closes #122
2020-12-11 00:18:08 +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
f4b900de72
footer: go-to-top: fix Uncrawlable Link
rm redundant a tag
2020-12-06 19:45:46 +05:30
Aditya Telange
4a4408573e
search: init Search feature (#105)
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993
* modified working for PaperMod
* fetches current lang index.json for search
* add fuse.js v6.4.3 LICENSE: Apache License 2.0
* bundled fastsearch and fusejs as search.js

Co-authored-by: Craig Mod <stuff@craigmod.com>
2020-12-06 18:19:50 +05:30
Aditya Telange
c76233b350
footer: rm unused code
CC: #108 #64
2020-12-05 20:45:15 +05:30
Aditya Telange
80954de8bd
anchored-headings: retain anchor link '#' in URL
close: #108
2020-12-05 20:17:07 +05:30
Aditya Telange
a9ff9533a0
head, footer: add option to disable fingerprinting #89
in site config =>
    params:
      assets:
        disableFingerprinting: true
2020-12-01 18:52:06 +05:30
Aditya Telange
7a0e742def
header: improve menu location indicator
- fix non-highlight on subdirs
- menu url need not have leading or trailing slashes
- fix non-highlight with multilingual config
2020-12-01 13:59:31 +05:30
Aditya Telange
29797a7464
social-icons: add kofi icon #29
* thanks to https://iconify.design/icon-sets/simple-icons/kofi.html
  and Simple Icons Collaborators
* License CC0 1.0
* edited to fit dual-tone theme
2020-11-30 20:55:41 +05:30
Aditya Telange
0d8cb9fd15
cover: responsive cover: rm forced q100
- lets quality attribute in imaging section
- https://gohugo.io/content-management/image-processing/#image-processing-config

close #92
2020-11-29 09:39:57 +05:30
Aditya Telange
ad11fe16ed
language-switch: rm humanize on 'displayFullLangName'
- displays weird text :/
2020-11-28 23:04:32 +05:30
Aditya Telange
b301d60f03
theme-switch: Improve theme switch logic (#86)
- removes unnecessary local-storage item removal
- less inline script on build
- assumes `defaultTheme as auto when value is not `dark` or `light`
- should work according to table at docs
2020-11-26 09:10:24 +05:30
Niek Blankers
aa6be95a12
social-icons: add svg for keybase (#79)
From https://github.com/keybase/keybase-issues/issues/973#issuecomment-307547386
SVG reduced to 2.5kB

Co-authored-by: dabura667 <matsuringo667@gmail.com>
2020-11-23 18:25:57 +05:30
Aditya Telange
dbb0e63248
head: change title separator "-" -> "|" 2020-11-23 01:27:09 +05:30
Aditya Telange
20710d34b9
social-icons: Trim whitespace and Lowercase name
- allows name like shown below

    socialIcons:
        - name: "TWitteR"
          url: "https://twitter.com"
        - name: "Codepen"
          url: "https://codepen.com"
2020-11-22 19:20:58 +05:30
Mikhail Zolotukhin
1f608c8fad
social-icons: add svg for Mastodon (#82)
from: https://joinmastodon.org/press-kit.zip
LICENSE: AGPLv3

close #81
2020-11-22 19:05:56 +05:30
Aditya Telange
4cc4604498
cover: add rel="noopener noreferrer"
to links
2020-11-18 15:45:19 +05:30
Aditya Telange
361362773c
social-icons: add svg for discord
- from https://discord.com/branding
close #76
2020-11-18 15:34:21 +05:30
Aditya Telange
a276a5dfd1
head: rm site.webmanifest, not a PWA 2020-11-17 19:38:07 +05:30
Aditya Telange
fd06af55fc
footer: simpify loading hljs,
defer and beautify
2020-11-17 15:44:16 +05:30
Aditya Telange
3c28b8a8b2
footer: fix scroll for non ASCII anchors
closes #78
2020-11-17 15:25:39 +05:30
Aditya Telange
62477e7d1b
head: add meta robots
- disable indexing for non-prod sites
2020-11-14 12:55:19 +05:30
Aditya Telange
f4998a1ab8
head: add google_news internal template from hugo 2020-11-14 12:44:56 +05:30
Aditya Telange
d2f2fa6cc6
head: add alternate pages
to indicate multiple language/locale versions
for multilungual sites
2020-11-12 11:19:29 +05:30
Aditya Telange
cf4fd27e3d
anchored-headings: port to PaperMod
- add corresponding css
- gen anchored headings for h1-h6
- link with single.html
2020-11-10 12:34:22 +05:30
Jake Wiesler
2b0619f684
anchored-headings: init partial
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-11-10 12:08:52 +05:30
Aditya Telange
8574c385cd
profile-mode: user set-able image size
- default 150

usage:
      profileMode:
        imageUrl: "/android-chrome-192x192.png"
        imageWidth: 120
        imageHeight: 120
2020-11-09 12:14:45 +05:30
Aditya Telange
64e8532a50
head: load stylesheet resources with a wildcard
- include profile-mode
  (cannot be done before f9fbdc9963)
- reduce request count from 2 to 1
  improves perf :P
  https://web.dev/resource-summary/
2020-11-09 11:18:22 +05:30
Aditya Telange
b7169d2259
language-switch: enable emojify
- languageName: ":country_emoji:"
 can now be displayed as emoji
2020-11-08 23:07:51 +05:30
Aditya Telange
5264c7011e
toc: add aria-label for accessibility reasons
- fix: Links do not have a discernible name
2020-11-06 10:58:23 +05:30
Aditya Telange
795c06b2cc
head: improve favicons presence
- also set theme color to #2e2e33
- use syntax from https://favicon.io
- `site.webmanifest` added, should be present in "static"

Custom links to favicons can be added in site config =>

params:
  assets:
    favicon: "<link / abs url>"
    favicon16x16:  "<link / abs url>"
    favicon32x32:  "<link / abs url>"
    apple_touch_icon:  "<link / abs url>"
    safari_pinned_tab:  "<link / abs url>"
2020-11-05 19:48:30 +05:30
Itay Cohen
3064e8cfc5
theme-switch: Enable theme toggle unless specifically disabled (#69)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-11-04 14:04:45 +05:30
Aditya Telange
12b6b132e4 Revert "theme-switch-button: improve logic"
This reverts commit 0eed773e6d.
2020-11-03 20:21:10 +05:30
Aditya Telange
0eed773e6d
theme-switch-button: improve logic
- owner can set dark/light/auto default theme
- theme toggle will be enabled on all theme modes unless disbaled
- if disableThemeToggle is true, user won't be able to switch themes,
here auto (a/c to system theme) also works

for #69
2020-11-03 20:07:59 +05:30
Nick Spreitzer
55107fcfc2
footer: Fix broken anchor link scrolling (#64)
fixes: Footnotes anchor link hrefs such as `#fn:1`
fixes: ToC anchors failing with hrefs having numbers.

based-on: https://stackoverflow.com/a/51396346/300212
2020-10-30 22:39:44 +05:30
Dan van Wijk
0a7a540761
footer: remove hidden chars (#63)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-10-30 17:31:52 +05:30
Aditya Telange
b239f42f6b
Add accesskeys (attribute specifies a shortcut key to activate/focus an element.)
c - ToC Open/Close
g- Go To Top
h - Home (according to current lang)
t - Theme toggle

more: https://www.w3schools.com/tags/att_global_accesskey.asp
2020-10-30 01:15:43 +05:30
Aditya Telange
c33dabf3a2
header: add Language switch (#54)
* language-switch: init
* header: move logo-switches together
2020-10-26 22:19:05 +05:30
Aditya Telange
70a2b06ac1
share-icons: add #hashtag generation from tags
for twitter share
2020-10-25 13:58:17 +05:30
Aditya Telange
1256f353e5
json-schema:fix multiple authors in config displayed incorrectly
* is of type `[]interface {}` and not `[]string`
2020-10-25 13:08:03 +05:30
Aditya Telange
9ac0f391f6
author(partial): fix multiple authors in config displayed incorrectly
* is of type `[]interface {}` and not `[]string`
2020-10-25 13:01:49 +05:30
Aditya Telange
44bc299ca3
json-schema: add support for multiple authors 2020-10-25 12:49:58 +05:30
Aditya Telange
5b9eaac130
layouts: use author partial in head and post_meta 2020-10-25 12:47:09 +05:30
Aditya Telange
bc2b82c370
author(partial): init, with support for multiple authors
* usage:
    author: ["me", "you"]
2020-10-25 12:16:36 +05:30
Aditya Telange
3e84ff0435
post-meta: fix redundant '·'(separator) in end
when author is not present
2020-10-25 11:17:54 +05:30
Aditya Telange
413034e43b
social-icons: fix duplicate rel tags 2020-10-23 15:56:41 +05:30
Aditya Telange
834feb9adc
cover: responsive cover: generate responsive images only in "production" env
- will reduce render time in development env
2020-10-23 11:35:30 +05:30
Aditya Telange
51c58ad0d5 social-icons: add rel=me
* rel=me links allow cross-linking of user's identities, improving SEO
2020-10-23 11:26:28 +05:30
Aditya Telange
16213a37e5
post-meta: improvements
- hide zero date (closes #33)
- fix separator
- refactor
2020-10-22 20:40:00 +05:30
Aditya Telange
684cb2160f layouts: post_meta as partial 2020-10-22 16:53:24 +05:30
Niek Blankers
21241c212e
relative-cover: init Responsive cover images (#43)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>

- generates images of different sizes
- browser can choose between set of images w.r.t viewport width
- is enabled by default
- supported image formats :
  https://gohugo.io/content-management/image-processing/#target-format

- Customizing site config params:
params:
    cover:
      responsiveImages: false  # if want to disable it
      linkFullImages: true # if link original image on clicking cover
2020-10-22 16:42:26 +05:30
Aditya Telange
c0ba1ce20d
social-icons: add svg for medium
* icon belong to medium[.]com
* converted to svg with online-convert[.]com
2020-10-19 19:00:01 +05:30
Aditya Telange
a41f09bb99
extended_footer: init
* add placeholder template for extending footer

closes #37
2020-10-18 21:52:22 +05:30
Northerner-coder
b720e4a523
extended_head: init (#44)
* add placeholder template for extending head
2020-10-18 20:21:42 +05:30
Aditya Telange
7db1be3d73
head: update description and keywords logic 2020-10-17 16:00:46 +05:30
Aditya Telange
353146891e
home-info, profile-mode: enable markdownify for text elements 2020-10-17 15:02:40 +05:30
Aditya Telange
3826200b7c
nav-label: accessibility 2020-10-17 00:05:10 +05:30
Aditya Telange
3edc160c59
nav-label: init
* label can be set differently from title
* label can have an optional icon with preffered size

* in site config =>
params:
  label:
    text: "Home"
    icon: /apple-touch-icon.png
    iconHeight: 35
2020-10-16 23:56:56 +05:30
Aditya Telange
fb945ba3c1
json-schema: add support for Rich Results: Json schema for structured data (#36)
* json-schema: init

* sameAs can be set through .Site.Params.schema.sameAs
* if it is not specified but social-icons exsists, we use social-icons for sameAs vars
* .Site.Params.schema.sameAs overrides social-icons
* publisherType can be changed via .Site.Params.schema.publisherType
2020-10-15 10:21:33 +05:30
Aditya Telange
23636ab326
templates: social-meta: prefer cover image over other images 2020-10-12 17:26:45 +05:30
Aditya Telange
306889f68b
head: link custom templates for social meta 2020-10-11 21:08:44 +05:30
Aditya Telange
4a4d0c009c
templates: add cover image to be linked into meta
for opengraph, schema and twitter
2020-10-11 21:04:17 +05:30
Aditya Telange
6c4e094c91
templates: Add Twitter Cards, OpenGraph, Schema
This code is licensed under Apache License 2.0
and is part of https://github.com/gohugoio/hugo
2020-10-11 20:07:43 +05:30
Aditya Telange
2c7cffb617
home-info: let content show upto 5 lines
* previously 3
2020-10-08 15:50:20 +05:30
Aditya Telange
724e73facb
social-icons: add buymeacoffee icon
* icon belongs to buymeacoffee.com
* edited to fit dual-tone theme
2020-10-08 14:27:43 +05:30
Aditya Telange
a9e00a3640
theme: set proper conditions
for having default-theme with theme-toggle

* can set/unset default theme
* for default-theme: dark/light : theme-toggle will not be visible
* theme-toggle with defaultheme: auto is functional

fixes #25 for #15
2020-10-05 14:34:44 +05:30
Aditya Telange
994c0b56e1
noscript: add noscript tags
* hide theme-toggle and
    * go-to-top button
    when js is disabled
2020-10-05 14:07:23 +05:30
Kian Kasad
c2c32282c1
footer: implement user-defined copyright (#23) 2020-10-05 10:04:33 +05:30
Aditya Telange
6a9e9e129a
theme-switch-button: init feature (#15)
* thanks to https://feathericons.com for svgs
* can be disabled in site config
   Params:
     disableThemeToggle : true
2020-10-04 20:43:24 +05:30
Aditya Telange
af19236002
header: rm unnecessary logo link 2020-10-04 20:25:39 +05:30
Aditya Telange
a34bcbd74c
toc(partial): generate toc for h1 - h6
previously: h1-h4
2020-10-04 18:52:14 +05:30
Aditya Telange
8cab9c9de5
head: support favicon custom path
usage =>
params:
  assets:
    favicon: '<path / external url>'

closes #14
2020-10-04 15:09:50 +05:30
Aditya Telange
8a8652fbf0
assets: improvements
- rm redundant minify's
    - url as //assets/<js or css>/<path>
2020-10-03 18:31:08 +05:30
Aditya Telange
46d5200714
head: add meta keywords 2020-10-03 15:16:19 +05:30
Aditya Telange
178b1560e1
head: AlternativeOutputFormats impl as in hugo docs
* https://gohugo.io/templates/output-formats/#list-output-formats
2020-10-03 14:47:42 +05:30
Aditya Telange
fcf2f7fb8f
share-icons: update whatsapp share url 2020-10-03 09:46:44 +05:30
Aditya Telange
d18c5b74be
profile-mode: add support for adding subtitle 2020-10-02 14:35:38 +05:30
Aditya Telange
6dcd437146
social-icons: refactor
* use easier impl
2020-10-02 13:46:49 +05:30
Aditya Telange
8ff1f10eb7
social-icons: use height and with as css props;
rm hardcoded svg height and width
2020-10-02 13:46:22 +05:30
Aditya Telange
a54b84ba0f
svg: remove unused class 2020-10-02 13:03:37 +05:30
Philip Gisella
c048c1a841 svg: added rss 2020-10-01 19:23:48 +05:30
Aditya Telange
0e48338a7d
share-icons: improvements
* rm translatable text
* svg: rm redundant attributes
* css: add x-scroll, - backgroud, + border
* misc
2020-10-01 14:23:15 +05:30
Aditya Telange
61cbbee16c
css: refactor 2020-09-29 16:43:41 +05:30
Aditya Telange
1a980f1dcb
refactor for "follow particular naming scheme
(91e30b806b)"
2020-09-23 18:23:57 +05:30
Aditya Telange
91e30b806b
follow particular naming scheme 2020-09-23 18:21:28 +05:30
Aditya Telange
36062439dd
profile-mode: remove unnecessary partial 2020-09-23 16:39:23 +05:30
Aditya Telange
016dd6e9fa
(lint) remove unnecessary whitespace
created by hugo's {{ }}
2020-09-23 12:52:32 +05:30
Aditya Telange
2cb5c9dad5
footer: mv hljs initialiser with resource
* hinders linter
2020-09-23 12:33:19 +05:30
Aditya Telange
a446401d47
share-icons: remove name attr
* deprecated in HTML5
2020-09-21 15:59:10 +05:30
Aditya Telange
06f09594dd
layouts: add rel="noopener noreferrer"
to outgoing links
2020-09-21 15:53:59 +05:30
Aditya Telange
6770e5e552
menu : add menu location indicator
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
2020-09-20 19:03:43 +05:30
Aditya Telange
46a092553a
profile-mode buttons: rm unnecesary div 2020-09-20 17:05:19 +05:30
Aditya Telange
1e5f020efb
footer : add git.io shortened url 2020-09-20 13:24:38 +05:30
Aditya Telange
7204003afd
accessibility : add aria-label to share-icons 2020-09-19 17:19:55 +05:30
Allan Chain
43d1c68ef4
toc: add toc partial [newer impl]
* gets toc fixed

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-09-19 17:02:20 +05:30
Aditya Telange
2eef3fcc12
automatic theme based on browser theme
usage: add to config
    params:
        defaultTheme: "auto"
2020-09-17 15:28:03 +05:30
Aditya Telange
3081579764
homeinfo : allow markdown 2020-09-17 15:14:38 +05:30
Aditya Telange
db1ec959aa
fix: for ebb9eb4043
* Browser errors were logged to the console
2020-09-17 14:57:20 +05:30
Aditya Telange
d3517dadbf
head : improve meta 2020-09-17 14:03:57 +05:30
Aditya Telange
ebb9eb4043
highlightjs : include only on pages with mainSections
* this makes hljs not load on index, taxonomies, archive
pages where code highlighting isn't used
* improving page site load time
2020-09-17 11:56:28 +05:30
Aditya Telange
f669a90052
go-to-top: add title
* accessibility
2020-09-15 23:11:06 +05:30
Aditya Telange
70525e39d1
accessibility : add aria-label to go-to-top 2020-09-06 22:07:01 +05:30
Aditya Telange
26aa913367
head: show title insted of description
on non-home pages
2020-09-06 21:16:55 +05:30
Aditya Telange
a22aa8aac3
remove custom css support
* user can clone head into <site root>/layouts/partials/head.html
and add custom resources and assets according to wish
2020-09-06 20:27:17 +05:30
Aditya Telange
eeb70f3f89
automatic-theme : remove 2020-09-06 20:16:51 +05:30
Aditya Telange
048aac5fac
profile-mode: improvements 2020-09-06 20:07:57 +05:30
Aditya Telange
ee84ce6d7f
social-icons : add cryptohack.org icon 2020-08-29 12:58:54 +05:30
Aditya Telange
37450eda01
social-icons : add sourcerer.io icon 2020-08-29 12:55:54 +05:30
Aditya Telange
ba6d5c4620
profileMode : improve buttons,
add theme transition
2020-08-29 10:41:20 +05:30
Aditya Telange
df457f7514
profile-mode : add buttons
ex.
params:
  profileMode:
    buttons:
      - name: Archive
        url: "/archive"
      - name: Github
        url: "https://github.com/"
2020-08-28 18:47:00 +05:30
Aditya Telange
fb4f686771
homeinfo: xp 2020-08-28 17:19:10 +05:30
Emma
c74404b64d
social-icons: Add dev.to icon
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-28 11:30:57 +05:30
Jesse Ward
ad207a99f7
social-icons : Adding audio related social icons.
discogs, lastfm, mixcloud and soundcloud.

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-28 11:27:41 +05:30
signal-9
6eda54eafc
social-icons : Added Steam SVG for social icons
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-28 11:23:04 +05:30
Aditya Telange
47ad22b0b1
social-icons : svg fix 2020-08-28 11:22:16 +05:30
Aditya Telange
740a42b414
social-icons : add hackthebox icon 2020-08-28 11:15:37 +05:30
Aditya Telange
d310bd65fc
social-icons : add hackerrank icon 2020-08-28 11:15:01 +05:30
Aditya Telange
fdda492244
social-icons : arrange svgs alphabetically 2020-08-28 11:13:48 +05:30
Aditya Telange
dbaa709c97
homeInfo : add socialIcons at bottom
* can be disabled by not having Params.socialIcons as variable
* profileMode overrides homeInfo mode
2020-08-27 20:03:00 +05:30
Aditya Telange
faf0ebefa3
social-icons : set icons in Params.socialIcons
* so that it can be accessible to other modes

usage : in config
 params:
  socialIcons:
   - name: "<platform>"
     url: : "<link>"

ref : f852d06923
2020-08-27 20:00:01 +05:30
Aditya Telange
5345b3e6b0
profile-mode: enabled only on .Site.Params.profileMode.enabled: true 2020-08-27 19:55:39 +05:30
Aditya Telange
201d269a1f
indexProfile : partial 2020-08-25 17:17:24 +05:30
Aditya Telange
e35915a561
support Multilingual navigation
add reading time as i18n
2020-08-25 14:04:59 +05:30
Tnze
04f9fabf92
social-icons : add Qq icon
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:27:37 +05:30
Adam Gausmann
cca8a6072e
social-icons : Add Twitch icon
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:24:41 +05:30
Hervy Qurrotul Ainur
3f9d80a1f8
social-icons: Add new icons for designers
* Add several icons for designers & microstocker: shutterstock, freepik, adobestock, 123rf, dreamstime, dribbble, and behance.
* Update telegram & stackoverflow icon.

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:22:02 +05:30
Track3
03afb9f6e4
social-icons: Add stackoverflow icon
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:17:26 +05:30
Dmitry Yakimenko
4a95158dd7
social-icons: add telegram
This icon is originally designed by @dmitrytrusov for Hugo Minimo theme.

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:13:35 +05:30
Manuel Pineda
6d9a8bad1a
social-icons: add gitlab
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 17:09:35 +05:30
Track3
6683b85876
social-icons : init
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-08-24 16:53:30 +05:30
Aditya Telange
6be9da45ab
profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
2020-08-23 18:19:41 +05:30
Aditya Telange
741fc9d220
layouts/head : fix duplicate title
title - title
2020-08-23 15:58:27 +05:30
Aditya Telange
e17d61b46c
menu : save menu scroll position in localstorage
(ux improve)
2020-08-21 21:03:05 +05:30
Aditya Telange
d75f9c27f6
add google siteverification tag in head
to use this, add below code to config file
    analytics:
        google:
            SiteVerificationTag: "XYZabc"
2020-08-20 22:12:53 +05:30
Aditya Telange
e0b08519c9 add Share Buttons
use Params.ShowShareButtons = true

    credits : https://www.iconfinder.com/iconsets/social-media-rounded-corners
    License:	Free for commercial use
2020-07-27 14:28:58 +05:30
Aditya Telange
1329075c61 add scroll to top button 2020-07-27 12:04:36 +05:30
Aditya Telange
84ec2bc75f rm redundant code 2020-07-26 20:12:48 +05:30
Aditya Telange
7fb8059cea homeInfo: rm ... 2020-07-26 12:02:14 +05:30
Aditya Telange
5e129bde1d assets : use preload and defer 2020-07-25 12:30:52 +05:30
Aditya Telange
2e9aef08a5 Add Taxonomy Pages
- known as terms
    - ex Tags, Categories
2020-07-25 11:57:18 +05:30
Joseph Silber
163fa2d3f1 Add Smooth Scrolling
Thanks to Joseph Silber https://stackoverflow.com/a/7717572
2020-07-24 23:55:44 +05:30
Aditya Telange
8356e48e47 Add option to use 1st entry as some Information
Currenty supports 2 vals Title and Content
Great for short intro for bloggers

can be enabled by using `Params.homeInfoParams`
    homeInfoParams:
      enabled: true
      Title: Hi there 👋
      Content: This is Content !! Can be Info, links, social-icons...
2020-07-23 16:24:44 +05:30
Aditya Telange
0950fb89a8 add archives layout
- can be used by setting
        layout: "archives"
2020-07-23 03:00:51 +05:30
Aditya Telange
28aa04ddb6 baseof: separate into header, footer 2020-07-21 15:36:30 +05:30
Aditya Telange
118bf1345e assets: assets to proper location 2020-07-21 14:25:56 +05:30
Aditya Telange
15d7a4aabd assets: separate style.css into parts 2020-07-21 14:20:35 +05:30
Aditya Telange
a072067575 footer: theme name update 2020-07-21 13:52:10 +05:30
Aditya Telange
41006c33e1 assets: add fingerprint, integrity 2020-07-20 20:53:08 +05:30
Aditya Telange
338027b046 SetThemeAuto: disable auto theme set by default
- user needs to add
        + params:
             SetThemeAuto: true
2020-07-20 20:43:23 +05:30
Aditya Telange
8a0783adfb new layout
- create baseof
    - separate list, single
    - header, footer
2020-07-20 20:32:07 +05:30
Aditya Telange
2e0ef75edf separate head 2020-07-20 20:13:51 +05:30
Aditya Telange
e933bf39b7 comments: rm comments
- user needs to enable comments in hugo config
        + params:
            comments: true
    - disabled by default
2020-07-20 20:11:58 +05:30
Aditya Telange
e6f516da62 theme: don't include set-theme inline 2020-07-20 19:46:19 +05:30
Aditya Telange
9e88deff8f add js from assets
- highlight
2020-07-20 19:35:06 +05:30
Aditya Telange
2884ee2055 add styles from assets
- bundle an-old-hope and style
    - minify
2020-07-20 19:17:39 +05:30
Paramtamtam
91dabb761f
Update header.html 2020-05-25 10:42:32 +05:00
Ryan Harter
98a6d49c5e
Merge pull request #1 from nanxiaobei/master
rebase
2020-05-22 17:12:46 -05:00
nanxiaobei
bcfd902a30 simplify code 2020-03-10 01:50:02 +08:00
nanxiaobei
ae2b0c9d96 update html format 2020-03-09 23:56:47 +08:00
Ryan Harter
c021eace22 Adds support for custom css. 2020-03-04 22:30:42 -06:00
南小北
35cf31b81f
Update month value 2019-10-20 18:20:15 +08:00
nanxiaobei
c163b43b9a Fix Dark Mode logic 2019-10-17 03:02:35 +08:00
nanxiaobei
6725cb9806 Refine Dark Mode code 2019-10-16 11:27:49 +08:00
nanxiaobei
a1b778c68a Add Dark Mode core code 2019-10-16 04:15:16 +08:00
nanxiaobei
ea1796cf97 Update Dark Mode logic 2019-10-16 04:15:04 +08:00
nanxiaobei
ba297661ff Add dark mode 2019-10-15 01:31:07 +08:00
nanxiaobei
072d2a8c22 Add SunriseSunsetJS 2019-10-15 01:30:20 +08:00
nanxiaobei
ee1f7e5aee Add list dynamic background 2019-09-15 06:55:10 +08:00
nanxiaobei
dedfb5a865 Update template order 2019-09-07 20:31:12 +08:00
Pedro Gomes
6143cd2035
Include open graph template in header 2019-09-04 20:28:40 +07:00
nanxiaobei
2f3e41736d Remove InstantClick 2019-08-20 04:13:23 +08:00
nanxiaobei
68a57bbb47 Update layouts 2019-08-20 04:12:49 +08:00
nanxiaobei
d49599a028 Fix js 2019-06-13 21:00:32 +08:00
nanxiaobei
f91e48e026 Refine head 2019-06-11 03:29:55 +08:00
nanxiaobei
e0be4092bd Update class 2019-06-11 03:18:37 +08:00
nanxiaobei
c29212ea9b Update link 2019-06-11 01:18:00 +08:00
ThomasZN
58a225155d
Update footer.html 2019-06-10 21:00:37 +08:00
ThomasZN
3af9454dd4
link to site in footer 2019-06-10 19:57:40 +08:00
nanxiaobei
8539fd9440 Fix menu 2019-06-10 07:25:41 +08:00
nanxiaobei
1bc35a3e33 Fix links 2019-06-10 06:59:08 +08:00
nanxiaobei
1304e354dd Merge remote-tracking branch 'origin/master' 2019-06-10 06:53:02 +08:00
nanxiaobei
daef16b004 Change .Site.BaseURL to absURL, refine js code 2019-06-10 06:44:46 +08:00
nanxiaobei
67767c62c2 Change .Site.BaseURL to absURL 2019-06-10 06:44:15 +08:00
Dan Jordan
bd3ef6a953
Hide the menu toggle if the menu is empty 2019-05-30 22:48:33 +01:00
Philip Khor
8496f3622e
Use global hugo function
When building the site, I get the following warning: 
> Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.

Replacing .Hugo with hugo in header.html removes the warning.
2019-05-04 22:39:34 +08:00
nanxiaobei
57548d027d Update brand 2019-04-28 18:24:02 +08:00
nanxiaobei
ed76efe036 Release 3.3 2019-04-26 05:29:37 +08:00
nanxiaobei
cce2ae5868 Release 3.2 2019-04-22 02:50:43 +08:00
nanxiaobei
f16505e5e8 Release 3.0 2019-04-02 11:21:52 +08:00
nanxiaobei
51c061cb4c Update author 2019-04-01 16:16:48 +08:00
nanxiaobei
2ab2e30c27 Update js 2019-04-01 16:00:59 +08:00
nanxiaobei
8088299ecb Update for 3.0 2019-03-31 20:32:06 +08:00
Kazuki Suda
0fc1a6b5f6 Make theme customizable 2019-03-24 02:05:09 +00:00
南小北
9db7d78fbd
Merge branch 'master' into master 2018-10-31 22:26:44 +08:00
南小北
27edd6d94e
Merge pull request #15 from ham1/noopener
Added noopener to target=_blank links
2018-10-31 22:19:15 +08:00
南小北
c53437936b
Merge pull request #11 from izdwuut/highlight
Add highlighting of code snippets with numbered lines enabled.
2018-10-31 22:19:02 +08:00
Daniel
35582be92b removed laggy cdn hosts 2018-10-31 16:42:53 +11:00
Graham Russell
e6a3019fed added noopener to target=_blank links 2018-09-28 20:15:19 +08:00
南小北
3f18d384bd
Merge pull request #14 from ham1/remove_meta_renderer
Remove meta renderer tag from header
2018-09-28 19:14:32 +08:00
Graham Russell
280f518fbe removed meta renderer tag from header 2018-09-28 17:39:29 +08:00
Graham Russell
d31ad9c68f Use .Hugo.Generator instead of adding meta tag manually 2018-09-28 17:34:08 +08:00
Bartosz izdwuut Konikiewicz
52e734fb3c Add highlighting of code snippets with numbered lines enabled. 2018-09-27 13:02:44 +02:00
南小北
1750b5b354
Merge pull request #9 from cemeng/master
🏗️ Add Google analytics support
2018-09-02 14:59:24 +08:00
nanxiaobei
2af70a215f 💄 Update styles 2018-08-16 01:22:33 +08:00
Felix Tjandrawibawa
4976196c96 Add Google analytics support 2018-08-06 22:14:55 +10:00
nanxiaobei
d22829882a 🍻 Add .Site.BaseURL 2018-07-06 04:17:31 +08:00
nanxiaobei
cb2786f9b2 🔖 Upgrade to 1.2 2018-07-06 02:45:58 +08:00
nanxiaobei
cfbdd0250f update 2018-03-13 14:31:10 +08:00
nanxiaobei
01aa49cb24 update 2018-03-13 13:46:37 +08:00
nanxiaobei
0b63124530 update theme 2018-03-13 11:58:42 +08:00
Lee
6315d0ab8f Initial commit 2018-01-09 00:28:39 +08:00