Giter VIP home page Giter VIP logo

Comments (4)

recoluan avatar recoluan commented on June 11, 2024

你好朋友,下面是针对你的问题的回复:

  1. vuepress 本身是静态网站生成器,像你说的管理员登录这种功能,我目前理解的是无法实现的,你有建议的话可以说一下;
  2. 增加发布状态这个建议是比较好的,目前主要是没有草稿状态。文章目前是有加密功能的,详情见项目文档,虽然目前还有一些小bug,但是可以简单使用。

from vuepress-theme-reco-1.x.

samuel778 avatar samuel778 commented on June 11, 2024
  • 身是静态网站生成器,像你说的管理员登录这种功能,我目前理解的是无法实现的,你有建议的话可以说一下;
  • 增加发布状态这个建议是比较好的,目前主要是没有草稿状态。文章目前是有加密功能的,详情见项目文档

设置固定密码,在代码中明文配置,但编译后需要自动加密,就算加密串被人获取,破解也需要一定的功夫。有一定的安全保护即可。
再简单一点,可以让用户利用其它小工具,自行提供加密串,

from vuepress-theme-reco-1.x.

Louis-XIV avatar Louis-XIV commented on June 11, 2024

我也是有相同的诉求,草稿状态和私密状态,可能有些文章并不想完全公开。

from vuepress-theme-reco-1.x.

recoluan avatar recoluan commented on June 11, 2024

最新版已经支持发布状态,草稿和私密可以理解为一个状态:就是不希望对外开放,所以通过在 front-matter 设置 publish: false 来禁止发布当前文章,见 文档

当然私密性也可以通过设置文章加密功能来实现,见 文档

from vuepress-theme-reco-1.x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.