blocks/feature: can I show a custom link title instead of "Read more ..." #1694
Answered
by
fekete-robert
rkranendonk
asked this question in
Q&A
-
The title says it all really. How can I display a different link title than the default "Read more ..."? |
Beta Was this translation helpful? Give feedback.
Answered by
fekete-robert
Oct 20, 2023
Replies: 2 comments 3 replies
-
You can change it globally by changing the value of the
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Yes, I think I have a PR for it somewhere, just hasn't been merged yet.
…On Mon, 23 Oct 2023, 10:55 Richard Kranendonk, ***@***.***> wrote:
Thanks! Seems an undocumented
<https://www.docsy.dev/docs/adding-content/shortcodes/#blocksfeature>
feature, btw.
—
Reply to this email directly, view it on GitHub
<#1694 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6AU3KSFMWZLRF5Z7VMRELYAYWIFAVCNFSM6AAAAAA6IZEH6SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNJWGQ4DQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have lots of feature blocks and you want to change the text for all of them globally, you can create the i18n/en.toml file, copy its contents from the main docsy repo, and change the Read more text to something you like.
But probably it's easier to add the
url_text="show-this-instead-of-read-more"
parameter where you invoke the blocks/feature shortcode.