Jan Zerfowski
a27f6eef5e
refactor: use generic .Process for card processing and allow bundled images ( #538 )
...
* Change processing method to more generic hugo .Process and allow resources from local .Page.Resources as well as global resources
* Add comments
* Fix double curly brackets error
Co-authored-by: Xin <fuxin1997@gmail.com>
* Maintain backward compatibility by using defaulting $process to $methd $options
https://github.com/imfing/hextra/pull/538#discussion_r1903250264
* Use printf instead of delimit
Co-authored-by: Xin <fuxin1997@gmail.com>
---------
Co-authored-by: Xin <fuxin1997@gmail.com>
2025-01-05 19:00:00 +00:00
Xin
e83c11f31a
chore: improve tags styling on card ( #431 )
...
* chore: improve tags styling on card
* chore: npm run build:css
2024-08-11 18:47:03 +01:00
Julia March
f439e6bb87
feat: add tag support for card shortcode ( #427 )
...
* styles: accept tags on cards with default and custom colors
* styles: compile css
2024-08-11 17:30:19 +01:00
Xin
24fb13b221
refactor: extract card shortcode to partial ( #339 )
...
* refactor: extract card shortcode to partial
* chore: update hugo stats
2024-03-31 11:06:47 +01:00
Xin
5c7303bee7
feat: add hx-
prefix to Hextra Tailwind CSS classes ( #300 )
...
* feat: add prefix to tailwind css classes
* fix: remove unnecessary prefixes
* fix: add missing prefix in other places
* chore: regenerate hugo_stats.json
* chore: run `npm run build:css`
* chore: add `hx-` prefix to _index.fa.md
* fix: lang switcher display issue
* fix: add `hx-` prefix to showcase/index.fa.md
* fix: lang switch param mistake
2024-02-20 22:59:31 +00:00
Xin
21b0acdec5
chore: improve cards compatibility with steps ( #197 )
2023-11-10 23:45:42 +00:00
LLL
ae01ac08b6
feat: improve Cards link behaviour ( #153 )
...
* clickable feature-card when a link is provided
* unclickable card when no link is provided
---------
Co-authored-by: Xin <xin@imfing.com>
2023-10-26 23:13:24 +01:00
Xin
01f7e3a425
docs: add showcase page ( #86 )
...
* docs: add showcase page
* chore: update compiled CSS
* chore: add showcase to navbar
* chore: reorder show case on navbar
* chore: update card image style
* chore: update showcase images
* chore: update showcase card image
2023-09-24 15:30:17 +01:00
Xin
79883dc7cc
fix: process static image url correctly
2023-09-24 11:03:34 +01:00
Xin
fdc30c6cd5
fix: card image not displaying correctly ( #77 )
...
* fix: use relative URL for card images
* chore: update card image processing
* chore: add width and height for process image
* docs: update cards docs
2023-09-23 19:25:51 +01:00
Remy Sheppard
c799160e86
feat: add native image processing to cards ( #63 )
...
* Add native image processing to cards
* feat: Image processing options, markdown subtitles
* fixing a type
* Public Domain Images
* image height fix
* Smaller Image
* Removed fullwidth param
* Smaller image from unsplash
* Replaced static image as well
* Update single.html
* Update list.html
* Update list.html
* Update single.html
* Update list.html
* Update single.html
* Update cards.md
* Update cards.md
---------
Co-authored-by: Xin <xin@imfing.com>
2023-09-19 00:04:48 +01:00
Xin
a184cfd41e
fix: use relURL only for link starts with slash ( #54 )
2023-09-13 05:40:00 -04:00
Xin
f70ba59ca0
fix: use relative url for card link ( #52 )
...
* fix: cards links should not redirect to 404
* docs: update card links
* fix: use relURL for card link
2023-09-13 09:49:01 +01:00
Xin
04e131f93a
chore: normalize headings ( #42 )
...
* chore: minor update to card component
* chore: normalize headings of blog and single page
2023-09-10 14:54:30 +01:00
Xin
ede8991728
fix: card links for getting started page
2023-08-26 15:01:06 +01:00
Xin
b6f40d6114
feat: add subtitle and image support to card
2023-08-20 21:31:51 +01:00
Xin
b90c2e7737
feat: add detail box and update styles
...
chore: update 404 page style
chore: update icon
to use global site variable
2023-08-16 20:39:43 +01:00
Xin
ba1257a188
feat: add card shortcodes
2023-08-16 20:39:35 +01:00