mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-03 18:46:40 -07:00
update theme and configure search
This commit is contained in:
parent
727515eef9
commit
71fd7a05b4
5 changed files with 55 additions and 5 deletions
17
config.toml
17
config.toml
|
@ -6,6 +6,7 @@ author = "Salar Rahmanian"
|
|||
generate_feed = true
|
||||
compile_sass = true
|
||||
minify_html = true
|
||||
build_search_index = true
|
||||
|
||||
# To translate the entire theme, there must be a file with the same ISO 639-1
|
||||
# (or IETF BCP 47) Code in the `i18n` folder of your site or the tabi theme
|
||||
|
@ -19,6 +20,22 @@ taxonomies = [
|
|||
{name = "tags", feed = true},
|
||||
]
|
||||
|
||||
[search]
|
||||
# Whether to include the title of the page/section in the index.
|
||||
include_title = true
|
||||
# Whether to include the description of the page/section in the index.
|
||||
include_description = true
|
||||
# Whether to include the path of the page/section in the index.
|
||||
include_path = true
|
||||
# Whether to include the rendered content of the page/section in the index.
|
||||
include_content = true
|
||||
# At which character to truncate the content to. Useful if you have a lot of pages and the index would
|
||||
# become too big to load on the site. Defaults to not being set.
|
||||
# truncate_content_length = 100
|
||||
# Wether to produce the search index as a javascript file or as a JSON file.
|
||||
# Accepted value "elasticlunr_javascript" or "elasticlunr_json".
|
||||
index_format = "elasticlunr_json"
|
||||
|
||||
[markdown]
|
||||
highlight_code = true
|
||||
highlight_theme = "css"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue