Skip to content

Commit

Permalink
refactor: Split theme and example project
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 4, 2018
1 parent 91dcacf commit a053131
Show file tree
Hide file tree
Showing 268 changed files with 18 additions and 28,642 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "themes/tech-doc-hugo-theme/assets/vendor/bootstrap"]
path = themes/tech-doc-hugo-theme/assets/vendor/bootstrap
[submodule "assets/vendor/bootstrap"]
path = assets/vendor/bootstrap
url = https://github.com/twbs/bootstrap.git
[submodule "themes/tech-doc-hugo-theme/assets/vendor/Font-Awesome"]
path = themes/tech-doc-hugo-theme/assets/vendor/Font-Awesome
[submodule "assets/vendor/Font-Awesome"]
path = assets/vendor/Font-Awesome
url = https://github.com/FortAwesome/Font-Awesome.git
6 changes: 0 additions & 6 deletions archetypes/default.md

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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Add styles or override variables from the theme here.
Nothing defined here. The Hugo project that uses this theme can override Bootstrap and theme variables by adding a file to:
*/
assets/scss/_variables_project.scss
*/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions assets/vendor/Font-Awesome
Submodule Font-Awesome added at 9339b9
1 change: 1 addition & 0 deletions assets/vendor/bootstrap
Submodule bootstrap added at 7b9c8e
123 changes: 9 additions & 114 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,118 +1,13 @@
baseURL = "https://temp.bep.is/td/"
title = "Tech OS"
# This the theme configuration.
# Allowed configuration in a theme is (currently):
# params (global and per language)
# menu (global and per language)
# outputformats and mediatypes

enableRobotsTXT = true

# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["tech-doc-hugo-theme"]

# Will give values to .Lastmod etc.
enableGitInfo = true

# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

disableKinds = ["taxonomy", "taxonomyTerm"]

# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = false
#pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"

# First one is picked as the Twitter card image if not set on page.
#images = ["images/project-illustration.png"]

# Configure how URLs look like per section.
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"

## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday]
plainIDAnchors = true
hrefTargetBlank = true
angledQuotes = false
latexDashes = true

# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"

[services]
[services.googleAnalytics]
# Uncomment and insert your GA tracking ID to enable.
# id = "INSERT ID"

# Language configuration

[languages]
[languages.en]
title = "TechOS"
description = "TechOS is containers revisited"
languageName ="English"
# Weight used for sorting.
weight = 1
[languages.no]
title = "TechOS"
description = "TecOS er operativsystem for skyen"
languageName ="Norsk"
contentDir = "content/no"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"


# Everything below this are Site Params

[params]
copyright = "Global Inc"
privacy_policy = "https://policies.google.com/privacy"
github_repo = "https://github.com/bep/tech-doc-hugo"

# Google Custom Search Engine ID. Remove or comment out to disable search.
gcs_engine_id = "011737558837375720776:fsdu1nryfng"

# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = false
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false

[params.links]
# End user relevant links. These will show up on left side of footer.
[[params.links.user]]
name = "Mailing List"
url = "https://example.org/mail"
icon = "fa fa-envelope"
[[params.links.user]]
name ="Twitter"
url = "https://example.org/twitter"
icon = "fab fa-twitter"
[[params.links.user]]
name = "Stack Overflow"
url = "https://example.org/stack"
icon = "fab fa-stack-overflow"
# Developer relevant links. These will show up on right side of footer.
[[params.links.developer]]
name = "GitHub"
url = "https://example.org/github"
icon = "fab fa-github"
[[params.links.developer]]
name = "Slack"
url = "https://example.org/slack"
icon = "fab fa-slack"
[[params.links.developer]]
name = "Mailing List"
url = "https://example.org/mail"
icon = "fa fa-envelope"

time_format_blog = "Monday, January 02, 2006"
time_format_default = "January 2, 2006"
# Sections to publish in the main RSS feed.
rss_sections = ["blog"]

85 changes: 0 additions & 85 deletions content/en/_index.html

This file was deleted.

39 changes: 0 additions & 39 deletions content/en/about/_index.html

This file was deleted.

Binary file removed content/en/about/featured-background.jpg
Binary file not shown.
10 changes: 0 additions & 10 deletions content/en/blog/_index.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/blog/news/_index.md

This file was deleted.

Binary file not shown.
Binary file removed content/en/blog/news/first-post/graph-stars.png
Binary file not shown.
Binary file removed content/en/blog/news/first-post/graph-themes.png
Binary file not shown.
Loading

0 comments on commit a053131

Please sign in to comment.