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

Feat/copy copyright #429

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Feat/copy copyright #429

merged 2 commits into from
Jul 4, 2024

Conversation

wangyang0210
Copy link
Collaborator

  • 支持设置复制的时候是否携带文章信息
  • 配置信息如下
  // -- 文章后缀 --
  articleSuffix: {
    imgUrl: '',
    aboutHtml: '',
    copyrightHtml: '',
    supportHtml: '',
    copyInfo: {
      enable: false, // 是否开启
      length: 100, // 复制内容长度
      copyright: '', // 复制携带版权信息,默认为copyrightHtml
    },
  },

效果:

mauris luctus id. Fusce dapibus non libero nec lobortis. Nullam iaculis nisl ac eros consequat, sit amet placerat
massa vulputate. h Maecenas euismod volutpat ultrices. h Pellentesque felis ex, ullamcorper in felis finibus, feugiat
dignissim augue. Integer malesuada non eros consectetur interdum. Mauris mollis non urna in porta.

———————————————————————————————————————————————

作者:TEST
原文链接:https://www.cnblogs.com/wangyang1225/p/16996827.html

@BNDong BNDong merged commit c7bd354 into BNDong:v2 Jul 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants