Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

复制分享链接时,希望同时复制文章标题 #265

Open
faritor opened this issue May 4, 2024 · 2 comments
Open

复制分享链接时,希望同时复制文章标题 #265

faritor opened this issue May 4, 2024 · 2 comments

Comments

@faritor
Copy link

faritor commented May 4, 2024

你当前使用的版本

1.2.2

描述一下此特性

目前分享链接只有当前文章的 url 地址,希望复制的时候可以复制到当前的标题,当分享出去的时候,可以更直观的看到,这个链接大概是关于什么的内容,格式如下:

这里是文章的标题
https://demo.demo.demo/demo

附加信息

No response

@qiushaocloud
Copy link

这个功能我实现了,只不过我开发过程中发现模版配置关联后会报错,大量修改了文章页的配置,有关联关系的都弄成组后就不报错了,但是这会导致之前文章页的设置需要重新配置,因此没敢合并代码来这个仓库

我现在用的是基于我的需求修改的主题,基本有些问题以及功能能合并过来的都提交 pr 了,其它没合并过来的都是我自己的需求,你可以参考下,仓库地址:https://github.com/qiushaocloud/halo-theme-joe3.0-qiu

博客演示地址:https://www.qiushaocloud.top/2024/05/05/halo2x-joe30-zhu-ti-qiu-shao-xiu-gai-ban

@qiushaocloud
Copy link

qiushaocloud commented May 15, 2024

我这边设置的模版出来的效果是这样的

文章作者: 邱少羽梦
文章来源: 邱少羽梦(https://www.qiushaocloud.top)
文章标题:『Halo2.x Joe3.0 主题 邱少修改版』
文章链接: https://www.qiushaocloud.top/2024/05/05/halo2x-joe30-zhu-ti-qiu-shao-xiu-gai-ban
版权声明: 内容遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。

后台模版文章页配置如下:
截屏2024-05-16 00 59 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants