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: add copyright setting for post #1709

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fish-404
Copy link

@fish-404 fish-404 commented Jun 5, 2022

PR Checklist

  • The commit message follows guidelines for NexT.
  • Tests for the changes was maked (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs in NexT website have been added / updated (for features).

PR Type

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build & CI related changes.
  • Documentation.
  • Translation.
  • Other... Please describe:

What is the current behavior?

Issue resolved: N/A

According to Front Matter | NexT document, there is a setting called copyright, but when I set it to false for one post, the copyright still shown.

What is the new behavior?

  • Screenshots with this changes: N/A
  • Link to demo site with this changes: N/A

How to use?

In post front matter, set copyright false will not display copyright notices below the post with theme.creative_commons.license and theme.creative_commons.post enabled.

In post front matter:

---
title: Title
...
copyright: false
---

@welcome
Copy link

welcome bot commented Jun 5, 2022

Thanks so much for opening your first PR here!

@CLAassistant
Copy link

CLAassistant commented Jun 5, 2022

CLA assistant check
All committers have signed the CLA.

@fish-404 fish-404 changed the title Feat: add copyright setting for post feat: add copyright setting for post Jun 5, 2022
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