forked from OSAC/osac.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
97 lines (85 loc) · 3.89 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
baseURL = "https://osac.org.np"
title = "Open Source Ascol Circle"
languageCode = "en"
canonifyURLs = true
DefaultContentLanguage = "en"
paginate = "10" # No of posts per page
theme = "hugo-dpsg"
[Params]
description = "Website of Open Source Ascol Circle OSAC, Amrit Science Campus ASCOL, Tribhuwan University, Nepal" # Site description. Used in meta description
copyright = "OSAC Ascol" # Footer copyright holder, otherwise will use site title
opengraph = true # Enable OpenGraph if true
schema = true # Enable Schema
twitter_cards = true # Enable Twitter Cards if true
readmore = false # Show "Read more" button in list if true
# authorbox = true # Show authorbox at bottom of pages if true
toc = true # Enable Table of Contents
pager = true # Show pager navigation (prev/next links) at the bottom of pages if true
indexPager = true # Show pager navigation on index page
post_meta = ["author", "date", "categories"] # Order of post meta information
mainSections = ["post", "blog", "news"] # Specify section pages to show on home page and the "Recent articles" widget
photosSections = ["photos"] # Specify section pages to show on home page and the "Recent photos" widget
photoTag = "photos" # Specify one tag to show on home page and the "Recent photos" widget. Similar as photoSections, but with 1 tag instead of 1 or multiple sections
dateformat = "Jan 2, 2006" # Change the format of dates
# customCSS = ["css/custom.css"] # Include custom CSS files, can also be used per-page as front matter attribute
# customJS = ["js/custom.js"] # Include custom JS files
# customPartial = "piwik.html" # Include custom partials at the end of the page, e.g. tracking codes
# belowTitlePartial = "alert.html" # Include custom partial below the pages title
[Params.style.vars]
highlightColor = "#003056" # Override main theme color
[Params.logo]
image = "img/osaclogo.png" # Logo image. Path relative to "static"
image_alt = "OSAC Logo" # alt text for logo image, be screen reader friendly!
header = "img/header.jpg"
title = "Open Source Ascol Circle"
subtitle = "Welcome to Open Source Ascol Circle (OSAC) website" # Logo subtitle
[Params.sidebar]
home = "right" # Configure layout for home page
list = "left" # Configure layout for list pages
single = false # Configure layout for single pages
# Enable widgets in given order
widgets = ["search", "recent", "taglist", "recent_photos", "recent_photos_tags", "categories", "social"]
# alternatively "ddg-search" can be used, to search via DuckDuckGo
# widgets = ["ddg-search", "recent", "categories", "taglist", "social", "languages"]
[Params.widgets]
recent_num = 5 # Set the number of articles in the "Recent articles" widget
tags_counter = false # Enable counter for each tag in "Tags" widget
[Params.widgets.social]
# Enable parts of social widget
facebook = "groups/osacchat"
# twitter = ""
# instagram = "username"
# linkedin = "username"
# telegram = "username"
github = "osac"
# gitlab = "username"
# bitbucket = "username"
email = "osac2gether@gmail.com"
[Params.footer]
text = "[Imprint and Privacy](/imprint)" # Extra text in footer row, understands markdown
# right = "Donate!" # Right-aligned text in footer row, optional, understands markdown
# Custom menu items, normally controlled via front matter in /content files
[menu]
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 2
[[menu.main]]
identifier = "events"
name = "Past Events"
url = "/categories/recent-events/"
weight = 3
# Custom social links
# [[Params.widgets.social.custom]]
# title = "Youtube"
# url = "https://youtube.com/user/username"
# icon = "youtube.svg" # Optional. Path relative to "layouts/partials"
# [[Params.widgets.social.custom]]
# title = "My Home Page"
# url = "http://example.com"