Blog

Copy/Paste from Google Docs

This is the example of how you can copy/paste the article from google docs and how formatting is applied

The tool we are going to use to build up a CMS is called Netlify CMS. It can be integrated to Hugo and currently we are trying to identify how much of the required functionality it supports.

Available functionality as on 5/14/2020

User can open the list of all vacancies, both disabled and published

User can open the vacancy post from the list

User can edit the existing vacancy and publish it

User can edit the existing vacancy and leave it unpublished

It is not possible to ADD a new article

How to update vacancy

  1. Login tohttps://gitlab.com/users/sign_in

alt

  1. Openhttps://itfobos.gitlab.io/eastbanctech-website/admin/#/collections/vacanciesin the new browser tab - this is the editor
  2. Openhttps://itfobos.gitlab.io/eastbanctech-website/careers/vacancies/in the new browser tab - this is the testing environment (a copy of production)
  3. You will see a page with the list of the items
  4. To open a vacancy, click on the item

6. You will see the editor with two sections: html editor and the preview window

  1. You can edit all fields in the editor to change the existing article:

Title -The page title (text field)

Description - the part which is shown as a preview on the Careers page

Publish Date - the date which will be shown on the page as a Publish Date

Draft Checkbox - the option to leave the changes unpublished

Body - the body of the text

  1. To change Title and Description, enter new text into the fields
  2. To change body you will need to use html tags.

Please note that Rich Text Formatting doesn’t work for now!

You can find useful tags here (or in any other free source):https://www.tutorialspoint.com/html/html_tags_reference.htm

To try the editor you can use an existing article as a template. So just change the text in between the text. The Preview window shows all changes immediately.

  1. When you finish editing, you can publish the article.To do that make sure the Draft checkbox is deselected.

  1. Then click Publish button and Publish Now option

Usually it takes up to 5-10 minutes to update the site with the new changes.

  1. In 5-10 minutes refresh the testing environmenthttps://itfobos.gitlab.io/eastbanctech-website/careers/vacancies/
  2. The article will appear in the list of vacancies.

How to disable the article

Select a needed article from the list and open it.

Select the Draft Checkbox

Click Publish, then Publish Now

Refresh the testing environment in 5-10 minutes

https://itfobos.gitlab.io/eastbanctech-website/careers/vacancies/

The article disappears from the website.

How to remove the article

To remove the article click Delete Entry button

But note that article will be deleted and you will not be able to get to the previous version without developer’s help.