Xin
d8351aa432
feat: allow enable/disable code block copy button ( #331 )
...
* refactor: move codeblock to a partial component
* feat: add flags for code block copy button
* allow disable code copy button completely
* allow make the copy button always visible
* chore: run build:css
2024-03-28 07:32:51 +00:00
Xin
29e70c8b21
fix: code copy button is invisible when hover ( #323 )
...
* fix: code copy button is invisible when hover
* chore: update hugo_stats.json file
2024-03-18 18:37:47 +00:00
Goudarz Jafari
22d4737b99
fix: RTL Steps
FileTree
, feat: Add Persian number for ol
label counter and Steps ( #314 )
...
* fix: RTL Steps in steps.html file
* feat: Add bidirectional support
* fix: RTL problem
* fix: RTL problem, feat: Add Persian CSS counter
* feat: Add Persian for ol counter
* fix: styling text
* Add ol output example
* fix: RTL problem
* fix some issue
* fix some issue
* fix some issue
2024-03-05 07:47:29 +00: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
Goudarz Jafari
9995617c66
docs(i18n): add Persian translation and support rtl languageDirection
( #301 )
...
* feat: add persian translation
* Add Persian translation
* Add fa support, languageDirection method in hugo.yaml
* Add languageDirection method
* Update hugo.yaml
* Update baseof.html
2024-02-19 21:40:50 +00:00
Xin
27c976bcc1
feat: display author avatar images in blog post ( #204 )
...
* feat: support displaying author images in blog post
* chore: fix typo
* chore: run build:css
* refactor: support both plain author list
* chore: run build:css
* chore: add support for local avatar images
* chore: update css classes
2023-11-17 01:49:18 +00:00
Xin
c2d7ba8ce5
fix: code copy issue for code blocks in shortcode ( #201 )
...
* chore: add translation key for copy code button title
* chore: remove id from code block elements
* fix: copy the correct code target in code-copy.js
* chore: update details.md
* chore: remove console.log :)
* chore: remove `$` in shell commands
* chore: update docs
2023-11-12 01:14:39 +00:00
Xin
28a20e1e7e
chore: add code copy button icons in js ( #133 )
2023-10-07 20:01:19 +01:00
Xin
924d8508d0
fix: footer enable flag logic issue ( #125 )
2023-10-03 08:51:41 +01:00
Xin
46dea718e6
docs: add giscus comments system ( #96 )
...
* chore: rename comment to comments
* docs: add giscus comments
* docs: update
2023-09-26 23:33:27 +01:00
Jinuk Im
6a19ac31c0
feat: add giscus support ( #92 )
...
* feat: add giscus support #89
* Update comment.html
* Update giscus.html
* Update giscus.html
---------
Co-authored-by: Xin <xin@imfing.com>
2023-09-26 20:47:22 +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
b283227046
feat: enhance image resolving ( #82 )
...
* feat: enhance image resolving
* chore: don't process image path that begins with relative link
* docs: add instruction for adding images
* chore: update docs
* chore: add filenames to images docs
2023-09-23 23:54:17 +01:00
Xin
3632294706
chore: update list page RSS template ( #75 )
...
* chore: update RSS feed template
* chore: use html instead of safeHTML
2023-09-22 23:41:53 +01:00
Xin
b51bfa3177
feat: support wide and full page modes ( #69 )
...
* feat: add page width config and partial
* feat: use page-width partial in layouts
* chore: revert changes in navbar and footer
* feat: customize footer width from site config
* chore: update styles
* docs: add page width
* feat: allow overriding navbar width
* fix: navbar width variable
* docs: add instruction for navbar and footer
2023-09-20 23:36:00 +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
4381f31085
chore: make index page container wider ( #30 )
...
* chore: enable footer by default
* chore: make index container wider
2023-09-03 16:12:53 +01:00
Xin
6727ef01aa
fix: [html] does not have [lang] attribute
2023-08-27 23:50:51 +01:00
Xin
d9c44bc503
docs: add content to about page
2023-08-27 16:20:25 +01:00
Xin
97f31e92a7
chore: add displayPlaceholder option to sidebar
2023-08-24 22:29:53 +01:00
Xin
d14091cd81
chore: update default list layout
2023-08-24 00:36:36 +01:00
Xin
4e250a449c
chore: update css height calc to use height var
2023-08-24 00:36:10 +01:00
Xin
ce78845226
chore: update layouts
2023-08-21 23:37:49 +01:00
Xin
1c7962494d
feat: add more content and fix issues
...
fix: hide lang switch if site is not multilingual
docs: update getting started page
fix: ordered list style
chore: update hugo icon
feat: add icon shortcode page
docs: add markdown and configuration pages
docs: add diagrams page
docs: add more content
fix: mermaid background and add image styling
chore: update templates
chore: update hugo stats
2023-08-20 00:41:26 +01:00
Xin
2b7b5622aa
chore: add inline shortcode icon
...
* enable `enableInlineShortcodes` in config
* add markdown icon
* update hugo stats json
* clean up mermaid template
2023-08-18 00:16:49 +01:00
Xin
666ad3f79f
fix: mermaid should not get loaded on home page
2023-08-17 23:31:04 +01:00
Xin
87ea9db336
chore: add heroicons v1 icons and update icons
...
fix: sidebar toc not rendered
chore: update heading template style
chore: update logo and favicon
chore: update favicons
chore: update icons
2023-08-16 20:43:49 +01:00
Xin
ed14432f77
refactor: use "sidebar-tree" for entire rendering
...
chore: update example site content
chore: add configuration for footer
chore: allow disable footer completely
chore: navbar highlights if contains current page
chore: styling update for partial templates
chore: update steps to use markdown delimiter
2023-08-16 20:43:42 +01:00
Xin
7a2cca9181
feat: add multi-language select and fix minor issues
...
fix: navbar icon should use home relative link
fix: copy code for raw <code> element
fix: missing breadcrumb hover style
fix: tabs typo preventing loading the script
2023-08-16 20:43:28 +01:00
Xin
d66ae7146f
fix: remove extra space for rendered link
...
chore: update theme info
chore: use dataset
chore: support editURL config option
* add toc and search config option
chore: update head template
2023-08-16 20:43:28 +01:00
Xin
2f34627da3
feat: multi-level sidebar
...
chore: support multiple search elements
chore: sidebar display toc on mobile view
chore: add hamburger menu to navbar on mobile
chore: add markdown link hook
for opening external link in new window
chore: add sidebar footer
- put search under params.type
- make navbar link aware of external link
2023-08-16 20:39:58 +01:00
Xin
7e37b73779
feat: revamp search experience
...
chore: hide toc on small screen
chore: make sidebar responsive
2023-08-16 20:39:54 +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
e71887d00e
feat: support mermaid
...
feat: codeblock highlight
feat: dark mode for highlight
feat: copy button for code block
feat: support katex math rendering
2023-08-16 20:39:41 +01:00
Xin
e99f44319a
feat: add theme switcher to support dark mode
2023-08-16 20:39:41 +01:00
Xin
923f794d29
feat: add pager for article navigation in section
...
chore: minor updates
- reorg language settings
- add icons for cards and steps
chore: update about page
chore: add style to kbd
2023-08-16 20:39:40 +01:00
Xin
c8eb404fe6
feat: implement common components
...
feat: implement sidebar
feat: implement footer
feat: implement breadcrumb
chore: add typography styles
chore: add heading anchor link
chore: add postcss-nested
2023-08-16 20:39:01 +01:00
Xin
e0bfaf0467
feat: implement navbar, update styles and docs
...
chore: add styles to html and body
chore: update theme for tailwind config
chore: update colors
chore: add list layout override for docs
chore: update default layouts
chore: update contents
2023-08-16 20:38:46 +01:00
Xin
3ec2e18870
hugo init
...
chore: add .gitignore
feat: add hugo configs
chore: initialize npm
feat: add hugo tailwind starter site
chore: add basic taskfile
chore: add README.md
feat: add 404 template
chore: add .prettierrc
chore: update hugo.toml
feat: add icons and icon.html partial
2023-08-16 20:38:01 +01:00