Skip to content

Commit a053131

Browse files
committed
refactor: Split theme and example project
1 parent 91dcacf commit a053131

File tree

268 files changed

+18
-28642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+18
-28642
lines changed

.gitmodules

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[submodule "themes/tech-doc-hugo-theme/assets/vendor/bootstrap"]
2-
path = themes/tech-doc-hugo-theme/assets/vendor/bootstrap
1+
[submodule "assets/vendor/bootstrap"]
2+
path = assets/vendor/bootstrap
33
url = https://github.com/twbs/bootstrap.git
4-
[submodule "themes/tech-doc-hugo-theme/assets/vendor/Font-Awesome"]
5-
path = themes/tech-doc-hugo-theme/assets/vendor/Font-Awesome
4+
[submodule "assets/vendor/Font-Awesome"]
5+
path = assets/vendor/Font-Awesome
66
url = https://github.com/FortAwesome/Font-Awesome.git

archetypes/default.md

-6
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/scss/_variables_project.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
3-
Add styles or override variables from the theme here.
3+
Nothing defined here. The Hugo project that uses this theme can override Bootstrap and theme variables by adding a file to:
44
5-
*/
5+
assets/scss/_variables_project.scss
66
7+
*/
File renamed without changes.

assets/vendor/Font-Awesome

Submodule Font-Awesome added at 9339b98

assets/vendor/bootstrap

Submodule bootstrap added at 7b9c8e8

config.toml

+9-114
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,13 @@
1-
baseURL = "https://temp.bep.is/td/"
2-
title = "Tech OS"
1+
# This the theme configuration.
2+
# Allowed configuration in a theme is (currently):
3+
# params (global and per language)
4+
# menu (global and per language)
5+
# outputformats and mediatypes
36

4-
enableRobotsTXT = true
5-
6-
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
7-
theme = ["tech-doc-hugo-theme"]
8-
9-
# Will give values to .Lastmod etc.
10-
enableGitInfo = true
11-
12-
# Language settings
13-
contentDir = "content/en"
14-
defaultContentLanguage = "en"
15-
defaultContentLanguageInSubdir = false
16-
# Useful when translating.
17-
enableMissingTranslationPlaceholders = true
18-
19-
disableKinds = ["taxonomy", "taxonomyTerm"]
20-
21-
# Highlighting config
22-
pygmentsCodeFences = true
23-
pygmentsUseClasses = false
24-
# Use the new Chroma Go highlighter in Hugo.
25-
pygmentsUseClassic = false
26-
#pygmentsOptions = "linenos=table"
27-
# See https://help.farbox.com/pygments.html
28-
pygmentsStyle = "tango"
29-
30-
# First one is picked as the Twitter card image if not set on page.
31-
#images = ["images/project-illustration.png"]
32-
33-
# Configure how URLs look like per section.
34-
[permalinks]
35-
blog = "/:section/:year/:month/:day/:slug/"
36-
37-
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
38-
[blackfriday]
39-
plainIDAnchors = true
40-
hrefTargetBlank = true
41-
angledQuotes = false
42-
latexDashes = true
43-
44-
# Image processing configuration.
45-
[imaging]
46-
resampleFilter = "CatmullRom"
47-
quality = 75
48-
anchor = "smart"
49-
50-
[services]
51-
[services.googleAnalytics]
52-
# Uncomment and insert your GA tracking ID to enable.
53-
# id = "INSERT ID"
54-
55-
# Language configuration
56-
57-
[languages]
58-
[languages.en]
59-
title = "TechOS"
60-
description = "TechOS is containers revisited"
61-
languageName ="English"
62-
# Weight used for sorting.
63-
weight = 1
64-
[languages.no]
65-
title = "TechOS"
66-
description = "TecOS er operativsystem for skyen"
67-
languageName ="Norsk"
68-
contentDir = "content/no"
69-
time_format_default = "02.01.2006"
70-
time_format_blog = "02.01.2006"
71-
72-
73-
# Everything below this are Site Params
747

758
[params]
76-
copyright = "Global Inc"
77-
privacy_policy = "https://policies.google.com/privacy"
78-
github_repo = "https://github.com/bep/tech-doc-hugo"
79-
80-
# Google Custom Search Engine ID. Remove or comment out to disable search.
81-
gcs_engine_id = "011737558837375720776:fsdu1nryfng"
82-
83-
# User interface configuration
84-
[params.ui]
85-
# Enable to show the side bar menu in its compact state.
86-
sidebar_menu_compact = false
87-
# Set to true to disable breadcrumb navigation.
88-
breadcrumb_disable = false
89-
90-
[params.links]
91-
# End user relevant links. These will show up on left side of footer.
92-
[[params.links.user]]
93-
name = "Mailing List"
94-
url = "https://example.org/mail"
95-
icon = "fa fa-envelope"
96-
[[params.links.user]]
97-
name ="Twitter"
98-
url = "https://example.org/twitter"
99-
icon = "fab fa-twitter"
100-
[[params.links.user]]
101-
name = "Stack Overflow"
102-
url = "https://example.org/stack"
103-
icon = "fab fa-stack-overflow"
104-
# Developer relevant links. These will show up on right side of footer.
105-
[[params.links.developer]]
106-
name = "GitHub"
107-
url = "https://example.org/github"
108-
icon = "fab fa-github"
109-
[[params.links.developer]]
110-
name = "Slack"
111-
url = "https://example.org/slack"
112-
icon = "fab fa-slack"
113-
[[params.links.developer]]
114-
name = "Mailing List"
115-
url = "https://example.org/mail"
116-
icon = "fa fa-envelope"
117-
9+
time_format_blog = "Monday, January 02, 2006"
10+
time_format_default = "January 2, 2006"
11+
# Sections to publish in the main RSS feed.
12+
rss_sections = ["blog"]
11813

content/en/_index.html

-85
This file was deleted.

content/en/about/_index.html

-39
This file was deleted.
-192 KB
Binary file not shown.

content/en/blog/_index.md

-10
This file was deleted.

content/en/blog/news/_index.md

-8
This file was deleted.
Binary file not shown.
-15.2 KB
Binary file not shown.
-16.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)