Browse Source

Basic structure

Signed-off-by: Blagovest Petrov <blagovest@petrovs.info>
master
Blagovest Petrov 4 years ago
parent
commit
b5f6c3998d
  1. 28
      config.toml
  2. 14
      content/_index.md
  3. 6
      content/docs/_index.md
  4. 5
      content/docs/linux.md
  5. 12
      content/docs/overview.md
  6. 2
      content/docs/use-forestry-cms.md
  7. 4
      content/docs/windows.md
  8. 60
      static/images/TangraLogo.svg
  9. 87
      static/images/compose.svg
  10. BIN
      static/images/scribble.jpg
  11. BIN
      static/images/tangraplay.png

28
config.toml

@ -1,24 +1,26 @@
baseURL = "https://example.com/"
baseURL = "https://tangraplay.petrovs.info"
title = "Compose Docs"
enableRobotsTXT = true
# this example loads the theme as hugo module
# comment out line below, and uncomment the line after it if you prefer to load the theme normally
theme = ["github.com/onweru/compose"] # edit this if you'ld rather use a fork of this repo
# theme = "compose"
theme = "compose"
enableGitInfo = true
disableKinds = ["taxonomy", "taxonomyTerm"]
# menu items
[[menu.main]]
name = "Docs"
name = "Документация"
weight = 2
url = "docs/"
[[menu.main]]
name = "Example"
name = "Радио Тангра"
weight = 3
url = "https://docs.neuralvibes.com"
url = "http://www.radiotangra.com/"
[[menu.main]]
name = "Blago's blog"
weight = 4
url = "https://petrovs.info/"
[markup]
[markup.goldmark]
@ -44,7 +46,7 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
# Everything below this are Site Params
[params]
author = "Weru"
author = "Blago"
searchPlaceholder = "Search the docs ..."
repo = "https://github.com/onweru/compose"
@ -52,10 +54,10 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
time_format_default = "January 2, 2006"
enableDarkMode = true # set to false to disable darkmode by default # user will still have the option to use dark mode
[params.logo]
lightMode = "compose.svg"
darkMode = "compose-light.svg"
lightMode = "TangraLogo.svg"
darkMode = "TangraLogo.svg"
[params.source]
name = "GitHub"
name = "Изходен код"
icon = "github.svg"
url = "https://github.com/onweru/compose/"
url = "https://code.petrovs.info/blago/TangraPlay"

14
content/_index.md

@ -1,22 +1,18 @@
+++
title = "Compose"
title = "TangraPlay"
+++
{{< block "grid-2 mt-2" >}}
{{< column >}}
# Compose your Docs with __Ease__.
# TangraPlay
Compose is a lean theme for the `Hugo`, inspired by [forestry.io](https://forestry.io).
Десктоп плеър за [Рок Радио Тангра](http://www.radiotangra.com/)
We do a [Pull Request](https://github.com/onweru/compose/pulls) contributions workflow on **GitHub**. Also feel free to raise any issues or feature suggestions.
Note that the theme is built with simplicity in mind. This way, if a suggestion complicates the usability of the theme, it may be declined. New users are always welcome!
{{< button "docs/" "Read the Docs" >}} {{< button "https://github.com/onweru/compose" "Download Theme" >}}
{{< button "docs/" "Инсталиране" >}}
{{< /column >}}
{{< column >}}
![diy](/images/scribble.jpg)
![diy](/images/tangraplay.png)
{{< /column >}}
{{< /block >}}

6
content/docs/_index.md

@ -1,8 +1,10 @@
---
title: "Compose Docs"
title: "Начини на инсталиране"
weight: 1
---
Welcome to the Compose theme user guide! This guide shows you how to get started creating technical documentation sites using Compose, including site customization and how to use Compose's blocks and templates.
{{< button "./getting-started/" "Get started now" >}}
{{< button "./linux/" "Инсталация под Linux" >}}
{{< button "./windows/" "Инсталация под Windows" >}}
{{< button "./mac/" "Инсталация под Mac" >}}

5
content/docs/getting-started.md → content/docs/linux.md

@ -1,13 +1,12 @@
---
title: "Getting Started"
title: "Инсталация под Linux"
weight: 2
description: >
This page tells you how to get started with the Compose theme, including installation and basic configuration.
---
## Prerequisites and installation
### Install Hugo
## Инсталиране с Flatpak
You need a [recent **extended** version](https://github.com/gohugoio/hugo/releases) (we recommend version 0.61 or later) of [Hugo](https://gohugo.io/) to do local builds and previews of sites (like this one) that uses this theme.

12
content/docs/overview.md

@ -1,12 +0,0 @@
---
title: "Overview"
weight: 4
description: >
Use hugo shortcodes to quickly compose your documentation pages.
---
Instead of writing all your site pages from scratch, Hugo lets you define and use [shortcodes](https://gohugo.io/content-management/shortcodes/).
Why shortcodes? While markdown is sufficient to produce simple pages, it's insufficient where complex page structures are needed. Thusly, whenever we need special styling, shortcodes compliment the shortcomings of markdown.
This way, you can side step complex html and css boilerplate in your content files.

2
content/docs/use-forestry-cms.md

@ -1,7 +1,7 @@
+++
title = "Use forestry CMS"
description = ""
weight = 3
weight = 4
draft = false
+++

4
content/docs/shortcodes-example.md → content/docs/windows.md

@ -1,6 +1,6 @@
---
title: "Shortcodes Applied"
weight: 7
title: "Инсталация под Windows"
weight: 3
description: >
This is how the shortcodes would look like in action
---

60
static/images/TangraLogo.svg

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48pt"
height="48pt"
viewBox="0 0 48 48"
version="1.1"
id="svg5"
sodipodi:docname="TangraLogo.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<metadata
id="metadata11">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs9" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="718"
id="namedview7"
showgrid="false"
inkscape:zoom="2.8509703"
inkscape:cx="35.621831"
inkscape:cy="74.810978"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1"
inkscape:current-layer="svg5" />
<g
id="#fac61fff"
transform="matrix(0.36675244,0,0,0.36675244,0.40693235,0.48314118)">
<path
fill="#fac61f"
opacity="1"
d="m 61.39,0 h 5.09 c 0,3.89 0,7.77 -0.01,11.66 1.41,0.01 2.83,0.02 4.24,0.03 0.02,-3.56 0.02,-7.12 0,-10.68 1.65,0.31 3.3,0.63 4.95,0.97 0.05,3.17 0.06,6.34 0.03,9.51 1.61,0.14 3.21,0.28 4.82,0.43 0.02,-2.3 0.03,-4.6 0.08,-6.9 1.61,1.17 3.32,2.24 4.64,3.74 0.4,1.35 0.29,2.81 0.43,4.2 6.2,2.8 10.59,9.07 10.57,15.94 0.04,20.39 0.03,40.79 0.01,61.18 -0.04,6.19 -3.43,12.35 -9.01,15.21 -4.75,2.76 -10.41,1.97 -15.65,2.13 0,3.69 0,7.38 -0.01,11.07 2.21,0.03 4.41,0.04 6.61,0.04 0.55,0.34 1.63,1.01 2.17,1.34 0.02,2.33 0.06,4.66 -0.05,6.98 -0.37,0.29 -1.1,0.86 -1.47,1.15 h -30.1 c -1.35,-2.55 -1.01,-5.46 -1.03,-8.23 2.6,-1.56 5.69,-1.26 8.6,-1.4 -0.03,-3.63 -0.04,-7.26 -0.01,-10.89 -5.03,-0.29 -10.39,0.58 -15.05,-1.84 -5.96,-2.65 -9.82,-9.16 -9.51,-15.64 0.05,-20.67 0,-41.34 0.02,-62.01 0.01,-6.58 4.61,-12.35 10.42,-15.04 0.13,-1.46 0.13,-2.93 0.43,-4.37 1.34,-1.44 3.07,-2.41 4.71,-3.46 0.01,2.25 0,4.5 -0.02,6.76 1.1,-0.07 3.31,-0.2 4.41,-0.27 0,-3.03 0,-6.06 -0.04,-9.1 1.65,-0.62 3.32,-1.24 4.99,-1.84 0.02,3.65 0.02,7.29 0,10.94 1.58,0 3.17,0.01 4.75,0.03 C 61.38,7.76 61.39,3.88 61.39,0 M 47.32,14.39 c -0.02,5.79 0,11.57 -0.01,17.36 1.46,0 2.92,0 4.39,0 -0.01,-5.86 0,-11.72 -0.01,-17.58 -1.46,0.06 -2.91,0.14 -4.37,0.22 m 9.3,-0.06 c 0.07,5.77 0.08,11.53 -0.01,17.29 1.6,0.04 3.21,0.07 4.81,0.08 -0.05,-5.81 -0.05,-11.61 0,-17.42 -1.6,0.01 -3.2,0.02 -4.8,0.05 m 9.87,-0.12 c -0.06,5.81 0.08,11.62 -0.1,17.42 1.45,0.06 2.89,0.11 4.33,0.16 0.01,-5.85 0.01,-11.71 0,-17.56 -1.41,-0.01 -2.82,-0.01 -4.23,-0.02 m 9.17,0.14 c 0.08,5.75 0.07,11.5 0.01,17.24 1.62,0.08 3.24,0.15 4.86,0.2 0,-5.82 0.01,-11.64 -0.01,-17.46 -1.62,-0.02 -3.24,0 -4.86,0.02 M 34.72,31.77 c 2.55,0 5.1,-0.02 7.65,-0.15 -0.09,-4.97 0,-9.93 -0.06,-14.9 -5.87,2.21 -8.2,9.24 -7.59,15.05 M 85.5,16.84 c -0.01,4.95 0.03,9.91 -0.02,14.86 2.46,0.04 4.93,0.06 7.4,0.05 -0.06,-2.34 -0.24,-4.68 -0.51,-7 C 90.83,21.6 89.15,17.92 85.5,16.84 M 34.73,38.7 c 0,2.59 0,5.18 0.02,7.78 8.58,0 17.16,-0.02 25.74,0.01 0.03,-2.6 0.05,-5.2 0.04,-7.79 -8.6,0 -17.2,0 -25.8,0 m 32.74,0 c -0.01,2.6 0,5.19 0.04,7.79 8.41,-0.01 16.83,-0.03 25.25,0.01 0.05,-2.6 0.07,-5.2 0.06,-7.8 -8.45,0 -16.9,0 -25.35,0 M 34.73,50.6 c 0,2.61 0,5.21 0.02,7.81 8.57,0 17.15,-0.01 25.73,0.01 0.04,-2.61 0.06,-5.21 0.05,-7.81 -8.6,-0.01 -17.2,-0.01 -25.8,-0.01 m 32.74,0.01 c -0.01,2.6 0.01,5.2 0.05,7.81 8.32,0.01 16.63,-0.08 24.94,0.05 0.2,-0.57 0.59,-1.72 0.78,-2.29 0.03,-1.91 0.04,-3.85 -0.59,-5.68 -8.39,0.23 -16.79,0.04 -25.18,0.11 M 34.75,62.63 c -0.02,2.65 -0.02,5.3 -0.02,7.95 8.6,0.01 17.2,0.01 25.8,0 0.02,-2.67 0,-5.33 -0.09,-8 -8.56,0.12 -17.12,0.02 -25.69,0.05 m 32.8,-0.05 c -0.08,2.67 -0.09,5.33 -0.09,7.99 8.45,0.05 16.9,-0.04 25.35,0.05 0.67,-2.66 0.48,-5.4 -0.19,-8.04 -8.36,0.09 -16.72,0.09 -25.07,0 M 34.78,80.69 c -0.18,4.55 0.07,9.11 -0.11,13.66 1.52,2.61 3.42,5.01 5.97,6.7 0.19,-7.13 0.21,-14.27 -0.02,-21.39 -1.87,0.43 -4.8,-1.07 -5.84,1.03 m 12.9,-1 c -0.11,7.9 -0.03,15.8 -0.05,23.7 2.02,0 4.03,0.01 6.05,0.01 -0.05,-7.91 0.15,-15.83 -0.12,-23.74 -1.96,0.02 -3.92,0.03 -5.88,0.03 m 12.91,1.06 c 0.11,13.97 0.06,27.95 0.02,41.93 2.23,0.08 4.45,0.06 6.67,-0.12 -0.07,-13.95 -0.07,-27.9 0,-41.84 -0.5,-0.26 -1.5,-0.77 -2,-1.03 -0.87,-0.02 -2.62,-0.05 -3.49,-0.07 -0.3,0.29 -0.9,0.85 -1.2,1.13 m 12.95,-0.47 c 0.07,7.69 0.02,15.39 0.03,23.08 2.04,0.02 4.07,0.03 6.11,0.05 0.01,-7.75 0.01,-15.5 0,-23.25 -2.05,0.02 -4.09,0.06 -6.14,0.12 m 12.89,-0.07 c 0.17,6.95 -0.03,13.9 0.12,20.86 2.98,-1.86 5.41,-4.57 6.72,-7.85 -0.12,-3.79 -0.04,-7.59 -0.07,-11.38 -0.19,-0.56 -0.59,-1.68 -0.79,-2.24 -2,0.04 -4.04,0 -5.98,0.61 z"
id="path2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

87
static/images/compose.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
static/images/scribble.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

BIN
static/images/tangraplay.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Loading…
Cancel
Save