Commit Graph

13 Commits

Author SHA1 Message Date
Aditya Telange
e59a43c00d
Don't auto titlelify button text #842 2022-05-17 22:00:09 +05:30
Aditya Telange
2bb7687a34
Profile-Mode: Generate a resize image
if the image is present in `assets` directory.
- Resizing the image will reduce the size of a large image.
- Should improve image load time.
- Usage:
  - Add the image under assets directory.
  - Provide path in `profileMode.imageUrl`.
  - if image is located as `assets/images/image.png` mention `profileMode.imageUrl: images/image.png`.
2022-03-27 19:55:28 +05:30
Aditya Telange
575cc0ca8c
Use site function instead of .Site or $.Site
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange
0fe857539b
Add absURL to label.icon and profileMode.imageUrl
fixes: #622 #623
2022-01-13 20:35:56 +05:30
Aditya Telange
0e3f44ff17
Use title instead of humanize
- https://gohugo.io/functions/title/
2021-05-01 22:13:54 +05:30
Aditya Telange
196b82645e
Fix Spacing in overall repo 2021-03-30 18:26:43 +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
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
353146891e
home-info, profile-mode: enable markdownify for text elements 2020-10-17 15:02:40 +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
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