jekyll / jekyll-admin

A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites.
https://jekyll.github.io/jekyll-admin/
MIT License
2.83k stars 359 forks source link

Some suggestions #409

Closed ashidamana closed 6 years ago

ashidamana commented 7 years ago

Today I tried to use jekyll-admin,but found something can be optimized. I think it is convenient to add some default metadata field which are frequently used,such as layout,category,tags,description etc. Just as the picture says.

ashmaroli commented 7 years ago

While I agree layout: being a default field is helpful as it finds use in almost every page, the remaining ones are only occasionally used by majority of the users..

microSoftware commented 7 years ago

+1 for the default layout:post metadata.

mertkahyaoglu commented 7 years ago

Jekyll Admin supports front matter defaults. Is this what you are suggesting?

mertkahyaoglu commented 7 years ago

If so, you should be fine by adding this to your _config.yml;

defaults:
  -
    scope:
      path: ""
      type: "posts"
    values:
      layout: "post"

and Jekyll Admin will display defaults in the metafields for posts.

ashmaroli commented 7 years ago

@mertkahyaoglu What OP means is that just like *New and *Edit views have title and path fields ready for user input, likewise the interface should also provide a select component for layout key fed with array of layouts currently used in site

jekyllbot commented 7 years ago

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

ghost commented 7 years ago

how to add date

in value section

mertkahyaoglu commented 7 years ago

@jubayed There should appear a datepicker when you set the key name date.

jekyllbot commented 6 years ago

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.