~exprez135/taliaferro

ref: 916d474da632854f52b75fc1443d4177322044ea taliaferro/config.yaml -rw-r--r-- 5.7 KiB
916d474d — Nate Resizing census image: rebuilding site Sat Apr 11 18:49:20 CDT 2020. 10 months ago
                                                                                
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
baseURL: https://thetaliaferrotimes.org
# The baseURL is the lowest domain level of our website. Google's would be https://google.com, ours is https://thetaliaferrotimes.org.

# disablePathToLower: unsure of what this means. Keep it "true".
disablePathToLower: true

# languageCode is the standard short code for which language we use. en = english. us = united states. en-us is what we use.
languageCode: en-us

# enableGitInfo allows Hugo to access git information like the hash and date.
enableGitInfo: true

# yaml is the format type we use for our files and configurations (versus toml or json)
metaDataFormat: "yaml"

# The title is the giant text that shows up on the website. It is also used as part of each tab's name.
title: The Taliaferro Times Online

# A theme is a set of designs which can be used to essentially boost you straight into making content. They are in the <root folder>/themes/ folder. I integrated the theme we used to be a consolidated part of the site.
# Keep it blank.
theme: mediumish-taliaferro

# summary length determines how many words to use as a summary for each post when displayed on the home page or another "list" type page.
summaryLength: 20

# This is the copyright notice which appears at the bottom of the page. I also include a part about the newspaper being public forum to add legitimacy in times of crisis.
# It seems to cut off because the rest of the statement is provided by "copyrightLicense" and "copyrightLink" below.
copyright: The Taliaferro Times - A public forum for student expression - student editors make all content decisions. Except where otherwise noted, content on this site is licensed under a

# The following two settings, authorHead and thumbnailHead, would be used if this site were a one-person blog to create an "about me" page and auto-fill the author info on each post. We don't actually use these and they aren't implemented anywhere.
authorHead: BTW Newspaper
thumbnailHead: /images/author.png

# This is isn't used either.
descriptionHead: The official school newspaper and creative writing club of Booker T. Washington High School.

# publishDir is the folder/directory which is then populated with all of the html, css, images, and script files which make up the static site. In other words, when you run "hugo" it builds the entire website in that directory.
publishDir: public_html

# Markup is where we set settings for the "markdown" we use. Look up what markdown is.
# goldmark is the default Hugo markup format.
# hardWraps is set to true so that new lines in the content files result in spacious spacing in the final display.
markup:
  goldmark:
    renderer:
      hardWraps: true
      unsafe: true
  tableOfContents:
    endLevel: 2

# params is where we set out further parameters for the site
# description: the little subtitle that appears below the title. We use our motto.
# mailchimp: the URL for our mailchimp subscription page, which is implemented in the "Never miss a story" pop-up on the site.
# mailprotect: the code we must put along with mailchimp so it works properly
# social: the accounts we have for social media. Our theme automatically implements some of the needed social media platforms to bring an icon and link to the account.
# copyrightLicense: the license displayed on the bottom of the page.
# copyrightLink: link to the text of the copyright license.
# logo: the file in <root>/static/ that is our logo.
params:
  description: Where your voice matters.
  mailchimp: https://thetaliaferrotimes.us19.list-manage.com/subscribe/post?u=d26cf2ca72382457545be7bf6&amp;id=47e6abb364
  mailprotect: b_d26cf2ca72382457545be7bf6_47e6abb364
  gitURL: https://git.sr.ht/~exprez135/taliaferro/commit
  alert:
    enabled: true
    title: "Breaking:"
    content: The last day of school for TPS will be Friday, May 15th. 
    link:
      enabled: false
      url: https://thetaliaferrotimes.org/coronavirus/#homework-and-classes
      name: Our Guide
  social:
    twitter: btw_news
    instagram: btw_news
  copyrightLicense: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
  copyrightLink: https://creativecommons.org/licenses/by-nc-nd/4.0/
  logo: logo-small.png
  meta:
    description: The official newspaper and creative writing club of Booker T. Washington High School.
    keywords: Tulsa, The Taliaferro Times, newspaper, BTW, Booker T., Booker T. Washington High School, School, news, opinion, Oklahoma, creative writing, write, articles, posts

# Ignores Alerts so they don't appear as normal posts
ignorefiles: "alert/.*"

# taxonomies are a part of Hugo which basically create new sets of the type of pages relevant to certain content. So author and tags are used so that we can click on an author's name and see a list of all of their content or click on a tag and see all content under that tag. This is all done automatically based on which tags and the author name we put into each post using forestry or manually.
taxonomies:
    author: author
    tags: tags

# These are the pages which appear in the menu. pretty self-explanatory.
# The identifier is what will appear in the URL.
# The name is the human readable name.
# The weight does not need to be used now. That would be to create sub-items within nested menus. We don't use that.
# The url is the url: / goes to thetaliaferrotimes.org/. /about/ goes to thetaliaferrotimes.org/about/.
menu:
  main:
  - identifier: home
    name: Home
    weight: 100
    url: /
  main:
  - identifier: coronavirus
    name: Coronavirus
    weight: 100
    url: /coronavirus/
  - identifier: about
    name: About
    weight: 100
    url: /about/
  - identifier: latest
    name: Latest Updates
    weight: 100
    url: /latest/
  - identifier: search
    name: Search
    weight: 100
    url: /search/