Arberia Features
Learn About All Features in Arberia Theme

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Intro
We’ll be using
toml
format for all examples down below, I recommend usingtoml
as it is easier to read.You can find any YML to TOML converters if necessary.
Assets
The following is enabled by default
- minification - makes the assets size smallest as possible.
- bundling - bundles all the styles in one single asset
- fingerprint/intergity check.
Search Page
PaperMod uses flexsearch.js for search functionality
Add the following to site config, config.toml
1[outputs]
2 home = ["HTML", "JSON", "RSS", "AMP"] # is necessary
3 page = ["HTML"]
4 section = ["HTML", "RSS"]
5 taxonomy = ["HTML", "RSS"]
Create a page with search/_index.md
in content
directory with following content
1---
2title: Search
3subtitle: Search index
4date: 2022-04-26T21:28:23+02:00
5lastmod: 2022-04-27T21:28:23+02:00
6draft: false
7weight:
8
9type: search #is necessary
10layout: "search" #is necessary
11
12categories:
13 - search
14
15hiddenFromHomePage: true
16hiddenFromSearch: true
17
18resources:
19 - name: featured-image
20 src: ""
21 - name: featured-image-preview
22 src: ""
23
24featured: false
25sidebar: false
26toc: false
27math:
28 enable: false
29lightgallery: false
30license: ""
31slug: search
32---
33
34
35<!-- To hide a particular page from being searched, add it in post's frontmatter
36
37```yml
38---
39searchHidden: true
40``` -->
41
42
43### Draft Page indication
44
45adds `[draft]` mark to indicate draft pages.
46
47---
48
49### Post Cover Image
50
51In post's page-variables add :
52
53```toml
54resources:
55- name: "featured-image"
56 src: "insert image path here"
57- name: "featured-image-preview"
58 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
1[params.resources]
2responsiveImages = false
To enable hyperlinks to the full image size on post pages, use
1[params.resources]
2linkFullImages = true
Share Buttons on post
Displays Share Buttons at Bottom of each post
to show share buttons add in config/params.toml
1[social.share]
2 enable = true
Show Table of Contents on blog post
Displays ToC on blog-pages
To show ToC add following to page-variables
1toc: true # Works only with standard-view
Comments
Enhanced SEO
Twitter Cards Support
OpenGraph support
1---
2
3### Multilingual Support
4
5---
6
7### Misc