def blog__sync_config_post_fields_with_db_post_fields_for_post(post)
      # save or update post fields from config
      post_fields = CONFIGS[:lato_blog][:post_fields]
      post_fields.map { |key, content| blog__sync_config_post_field(post, key, content) }
      # remove old post fields
      db_post_fields = post.post_fields.visibles.roots
      db_post_fields.map { |dbpf| blog__sync_db_post_field(post, dbpf) }
    end
def blog__sync_config_post_fields_with_db_post_fields_for_post(post)
      # save or update post fields from config
      post_fields = CONFIGS[:lato_blog][:post_fields]
      post_fields.map { |key, content| blog__sync_config_post_field(post, key, content) }
      # remove old post fields
      db_post_fields = post.post_fields.visibles.roots
      db_post_fields.map { |dbpf| blog__sync_db_post_field(post, dbpf) }
    end
This function syncronizes the config post fields with the post fields
 on database for a single post object.