Add Document Instructions

The document feature provides powerful document addition operations.By adding a document interface, we can add various types of attributes to the document, such as document title, recommended attributes, document classification, thumbnail, tag tags, and other content.

content-17

The following functions are available by default on the document addition interface:

  • Document Title Document Title is a required field, and it is used as the h1 title for displaying the document to the user.
  • The recommended attributes of the recommended document can specify 8 types of attributes, which can be selected singly, in multiple selections, or not selected. After selection, the front-end template can call the specified recommended content by using the specified attribute letter, flag="h".It should be noted that when calling from the front end, only one property can be used to call each list.

content-23

The available tags are:头条[h]/推荐[c]/幻灯[f]/特荐[a]/滚动[s]/加粗[h]/图片[p]/跳转[j].

  • Document Keywords
    The document keywords can be manually entered or selected from the keyword library by clicking the keyword button. Please use English commas to separate multiple keywords.,Distinguish, because it is more in line with the habits of search engine inclusion.

content-18

  • Document Summary
  • The document summary is generally a brief introduction to an article.Document introduction should be no more than 150 words为宜.When you do not fill in the document introduction, the system will automatically extract the first 150 characters from the content of the document as the document introduction.
  • document content

content-22

  • Category
    Each document must be classified. All documents must be categorized to determine what type of model the document belongs to.
    Therefore, after selecting the category, you can display the model fields of the content model to provide input.For example, in the example, we selected the Anqi CMS template to create this category. This category belongs to the article model, at this point, we can fill in other fields of the document model in other parameters.

content-20

  • Document image
    Here, document image refers to the thumbnail of the document.The document thumbnail can be selected from the image library or a new image can be uploaded.If you have not uploaded an image, but the document content contains images, the system will automatically extract the first image in the document content as the document thumbnail image.

content-19

  • Custom URL
  • Custom URLs are used to enable the pseudo-static rule for calling naming conventions for document.Also, custom URLs only take effect when the website's pseudo-static rules use the {filename} field naming mode.The default custom URL will be generated automatically according to the pinyin of the title of the document you enter.If you are not satisfied with the automatically generated content, you can set custom content manually.It should be noted that the custom URL must ensure its uniqueness across the entire site. If it is not unique, the system will add random numbers to it to ensure its uniqueness.
  • Publish Time
  • The default publish time is automatically generated, and it will be the current time at the time of publication.If you need your document to be automatically published at a future time as a scheduled publish document, you can set the publish time to the future. This way, the document will be officially published only after reaching the specified publish time.
  • Tag Label
  • You can add multiple tags to the document. Tags are similar to topics and can be used to associate documents of the same category in addition to the classification method.You can choose an existing tag or enter a new one.When you enter a new tag text, press the Enter key to convert it into a tag.

content-21

  • Other parameters
  • For some less commonly used parameter fields, we have placed them in a foldable box with other parameters. You can expand the foldable box to fill in more information for the document.
  • SEO Title
  • SEO title is used to display the title content to search engines. Note: If you want the content of the page's title tag to be different from the article title, you can set the SEO title
  • Standard link
  • If you want to link the current document to another page, you need to fill it here.The link needs to be called using the canonical tag in the template.This label may be used on an export-oriented website.
  • Fixed link
  • Only if you want to permanently fix the link of this document, not changing with the pseudo-static rules, do you need to fill it out. Relative link / at the beginning. For example: /download
  • Document template
  • When you need to specify an independent display template for a single document, you can enter the name of the template you need to use here.Note that you must ensure that this template exists in your template design package; otherwise, this document will not open.If you created a download.html template to display this document, then enter download.html in the document template input box of this document.
  • More model custom fields
  • When you customize more model-specific fields using the content model, they will also be displayed one by one in the collapsible boxes of other parameters. You can fill in the content according to your specific needs.
  • If the fields you define have default values and you only want to display the default values, leave this field blank. The system will automatically assign the default value to the specified field when called from the front end.