Arberia Features

Learn About All Features in Arberia Theme

arberia-features.webp
author

author
features update

Intro

  • We’ll be using toml format for all examples down below, I recommend using toml as it is easier to read.

  • You can find any YML to TOML converters if necessary.


Assets (js/css)

The following is enabled by default


Search Page

PaperMod uses flexsearch.js for search functionality

Add the following to site config, config.toml

[outputs]
  home = ["HTML", "JSON", "RSS", "AMP"] # is necessary
  page = ["HTML"]
  section = ["HTML", "RSS"]
  taxonomy = ["HTML", "RSS"]
  taxonomyTerm = ["HTML", "RSS"] 

Create a page with search/_index.md in content directory with following content

---
title: Search
subtitle: Search index
date: 2022-04-26T21:28:23+02:00
lastmod: 2022-04-27T21:28:23+02:00
draft: false
weight: 

type: search #is necessary
layout: "search" #is necessary

categories:
  - search

hiddenFromHomePage: true
hiddenFromSearch: true

resources:
  - name: featured-image
    src: ""
  - name: featured-image-preview
    src: ""

featured: false
sidebar: false
toc: false
math:
  enable: false
lightgallery: false
license: ""
slug: search
---

Draft Page indication

adds [draft] mark to indicate draft pages.


Post Cover Image

In post’s page-variables add :

resources:
- name: "featured-image"
  src: "insert image path here"
- name: "featured-image-preview"
  src: "insert image path here"

When you include images in the Page Bundle, multiple sizes of the image will automatically be provided using the HTML5 srcset field.

To reduce generation time and size of the site, you can disable this feature using

[params.resources]
responsiveImages = false

To enable hyperlinks to the full image size on post pages, use

[params.resources]
linkFullImages = true

Share Buttons on post

Displays Share Buttons at Bottom of each post

to show share buttons add in config/params.toml

[social.share]
    enable = true

Show Table of Contents (Toc) on blog post

Displays ToC on blog-pages

To show ToC add following to page-variables

toc: true # Works only with standard-view

Comments


Enhanced SEO

Twitter Cards Support

OpenGraph support

---

### Multilingual Support

---

### Misc