Update temp command section and reverted to old favicon

This commit is contained in:
Ryan Watters
2017-02-21 01:09:56 -06:00
parent e34a358e39
commit d2f2d9a3f0
30 changed files with 194 additions and 170 deletions
-14
View File
@@ -1,14 +0,0 @@
---
title: Command Line Reference
linktitle: CLI
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
tags: [functions,templating]
weight: 01
draft: false
slug:
aliases: []
notesforauthors:
---
+22
View File
@@ -0,0 +1,22 @@
---
title: Command Line Reference
linktitle: Command Line Reference
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [command line reference]
tags: [cli,command line]
weight: 01
draft: false
aliases: [/cli/]
needsreview: true
---
The following list contains auto-generated and up-to-date (thanks to [Cobra][]) documentation for all the CLI commands in Hugo.
[Cobra]: https://github.com/spf13/cobra
+2 -2
View File
@@ -11,7 +11,7 @@ weight: 90
draft: false
aliases: [/extras/permalinks/,/extras/aliases/,/content-management/permalinks-and-redirects/,/extras/urls/]
toc: true
notesforauthors:
needsreview: true
---
## Base URL
@@ -107,6 +107,6 @@ Setting `relativeURLs` to `true` in the site configuration will cause Hugo to re
For example, if the `/post/first/` page contained a link with a relative URL of `/about/`, Hugo would rewrite that URL to `../../about/`.
[Content Organization]: /content-management/content-organization/
[flag from the command line]: /developer-tools/hugo-command-line-reference/#flags
[flag from the command line]: /getting-started/basic-usage/
[sections]: /content-management/content-sections/
[site configuration]: /project-organization/configuration/
@@ -75,7 +75,7 @@ If you're going to contribute code, you'll need to have an account on GitHub. Go
## Installing Git on Your System
You will need to have Git installed on your computer to contribute to Hugo development. Teaching git is outside the scope of the Hugo docs, but if you're looking for an excellent reference to learn the basics of Git, we recommend the [Git book](https://git-scm.com/) if you are not sure where to begin. The used terminology will be explained with annotations.
You will need to have Git installed on your computer to contribute to Hugo development. Teaching git is outside the scope of the Hugo docs, but if you're looking for an excellent reference to learn the basics of Git, we recommend the [Git book][gitbook] if you are not sure where to begin. The used terminology will be explained with annotations.
Git is a [version control system](https://en.wikipedia.org/wiki/Version_control) to track the changes of source code. Hugo depends on smaller third-party packages that are used to extend the functionality. We use them because we don't want to reinvent the wheel.
@@ -322,7 +322,7 @@ squash 33c8973 Begin workflow
squash 3502f2e Refactoring and typo fixes
```
Close the editor. It should open again with a new tab. A text is instructing you to define a new commit message for the last two commits that should be merged (aka "squashed"). Save the file (<kbd>CTRL</kbd>+<kbd>S</kbd>) and close the editor again.
Close the editor. It should open again with a new tab. A text is instructing you to define a new commit message for the last two commits that should be merged (aka "squashed"). Save the file with <kbd>CTRL</kbd>+<kbd>S</kbd> and close the editor again.
A last time a new tab opens. Enter a new commit message and save again. Your terminal should contain a status message. Hopefully this one:
@@ -374,16 +374,17 @@ If you have questions leave a comment in the pull request. We are willing to ass
Thank you for reading this tutorial. Hopefully, we see you again on GitHub. There are plenty of [open issues](https://github.com/spf13/hugo/issues) on GitHub. Feel free to open an issue if you think you found a bug or you have a new idea to improve Hugo. We are happy to hear from you.
## Additional References for Learning Git
## Learning Git References
* [Codecademy's Free "Learn Git" Course][codecademy]
* [Code School and GitHub's Free "Try Git" Tutorial][trygit]
*
* [The Git Book][gitbook]
[codecademy]: https://www.codecademy.com/learn/learn-git
[contributors]: https://github.com/spf13/hugo/graphs/contributors
[downloadgo]: https://golang.org/dl/
[gitbook]: https://git-scm.com/
[gvm]: https://github.com/moovweb/gvm
[installgo]: https://golang.org/doc/install
[releases]: /getting-started/
@@ -1,20 +0,0 @@
---
title: Hugo Command Line Reference
linktitle: Hugo Command Line Reference
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
tags: [usage]
categories: [developer tools]
weight: 40
draft: false
slug:
aliases: []
toc: true
notesforauthors:
---
## Generators
## Flags
+31 -27
View File
@@ -15,10 +15,17 @@ needsreview: true
notesforauthors:
---
Once you have [installed Hugo][install] is in your `PATH` (or provide a path to it). Test this by:
## Testing Installation with Hugo Help
Once you have [installed Hugo][install], make sure it is in your `PATH` (or provide a path to it). You can test that Hugo has been installed correctly via the `help` command:
```bash
hugo help
```
The output you see in your console should be similar to the following:
```bash
hugo is the main command, used to build your Hugo site.
Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.
@@ -83,7 +90,6 @@ Additional help topics:
Use "hugo [command] --help" for more information about a command.
```
## Common Usage Example
The most common use is probably to run `hugo` with your current directory being the input directory:
@@ -98,11 +104,11 @@ hugo
in 120 ms
```
This generates your web site to the `public/` directory, ready to be deployed to your web server.
This generates your website to the `public/` directory, ready to be deployed to your web server.
## Instant feedback as you develop your web site
If you are working on things and want to see the changes immediately, by default Hugo will watch the filesystem for changes, and rebuild your site as soon as a file is saved:
If you are working on things and want to see the changes immediately, by default Hugo will watch the filesystem for changes and rebuild your site as soon as a file is saved:
```bash
hugo -s ~/Code/hugo/docs
@@ -140,7 +146,7 @@ The combination of Hugos insane build speed and LiveReload make
crafting your content pure joy. Virtually instantly after you hit save
your rebuilt content will appear in your browser.
## LiveReload
### LiveReload
Hugo comes with [LiveReload](https://github.com/livereload/livereload-js) built in. There are no additional packages to install. A common way to use Hugo while developing a site is to have Hugo run a server and watch for changes:
@@ -197,31 +203,17 @@ After running `hugo server` for local web development, you need to do a final `h
Since Hugo generates a static website, your site can be hosted anywhere, including [Heroku][], [GoDaddy][], [DreamHost][], [GitHub Pages][], [Amazon S3][] with [CloudFront][], [Firebase Hosting][], or any other cheap (or even free) static web hosting service.
[Apache][], [nginx][], [IIS][]... Any web server software would do!
[Apache]: http://httpd.apache.org/ "Apache HTTP Server"
[nginx]: http://nginx.org/
[IIS]: http://www.iis.net/
[Heroku]: https://www.heroku.com/
[GoDaddy]: https://www.godaddy.com/
[DreamHost]: http://www.dreamhost.com/
[GitHub Pages]: https://pages.github.com/
[GitLab]: https://about.gitlab.com
[Amazon S3]: http://aws.amazon.com/s3/
[CloudFront]: http://aws.amazon.com/cloudfront/ "Amazon CloudFront"
[Firebase Hosting]: https://firebase.google.com/docs/hosting/
[Apache][], [nginx][], [IIS][]...any web server software will work.
{{% warning "Generated Files are **NOT** Removed on Site Build" %}}
Running `hugo` *does not* remove generated files before building. This means that you should delete your `public/` directory (or the directory you specified with `-d`/`--destination`) before running the `hugo` command, or you run the risk of the wrong files (e.g., drafts or future posts) being left in the generated site.
{{% /warning %}}
### A Note About Deployment
### Destination Directories for Dev vs Deploy
Running `hugo` *does not* remove generated files before building. This means that you should delete your `public/` directory (or the directory you specified with `-d`/`--destination`) before running the `hugo` command, or you run the risk of the wrong files (e.g., drafts or future posts) being left in the generated site.
Hugo does not remove generated files before building. An easy workaround is to use different directories for development and production.
An easy way to work around this is to use different directories for development and production.
To start a server that builds draft content (helpful for editing), you can specify a different destination: the `dev/` dir.
To start a server that builds draft content (helpful for editing), you can specify a different destination; e.g., a `dev/` directory:
```bash
hugo server -wDs ~/Code/hugo/docs -d dev
@@ -237,18 +229,20 @@ This prevents content you're not yet ready to share from accidentally becoming a
### Using Hugo's Server in Production
Because Hugo is so blazingly fast both in web site creation *and* in web serving (thanks to its concurrent and multi-threaded design and its Golang heritage), some users prefer using Hugo itself to serve their website *on their production server*.
Because Hugo is so blazingly fast both in website creation *and* in web serving (thanks to its concurrent, multi-threaded design and Golang heritage), some users prefer to use Hugo itself to serve their website *on their production server*.
No other web server software (e.g., Apache, nginx, IIS) is necessary.
Here is the command:
{{% input "hugo-production-server.sh" %}}
```bash
hugo server --baseURL=http://yoursite.org/ \
--port=80 \
--appendPort=false \
--bind=87.245.198.50
```
{{% /input %}}
Note the `bind` option, which is the interface to which the server will bind (defaults to `127.0.0.1`: fine for most development use cases). Some hosts, such as Amazon Web Services, run NAT (network address translation); sometimes it can be hard to figure out the actual IP address. Using `--bind=0.0.0.0` will bind to all interfaces.
@@ -258,5 +252,15 @@ Interested? Here are some great tutorials contributed by Hugo users:
* [hugo, syncthing](http://fredix.xyz/2014/10/hugo-syncthing/) (French) by Frédéric Logier (@fredix)
[install]: /getting-started/install-hugo/
[Amazon S3]: http://aws.amazon.com/s3/
[Apache]: http://httpd.apache.org/ "Apache HTTP Server"
[CloudFront]: http://aws.amazon.com/cloudfront/ "Amazon CloudFront"
[DreamHost]: http://www.dreamhost.com/
[Firebase Hosting]: https://firebase.google.com/docs/hosting/
[GitHub Pages]: https://pages.github.com/
[GitLab]: https://about.gitlab.com
[GoDaddy]: https://www.godaddy.com/
[Heroku]: https://www.heroku.com/
[IIS]: http://www.iis.net/
[install]: /getting-started/install-hugo/
[nginx]: http://nginx.org/
@@ -98,6 +98,6 @@ The `themename` in the above examples must match the name of the specific theme
{{% /note %}}
[customizethemes]: /themes/customizing-a-theme/
[flag]: /developer-tools/hugo-command-line-reference/#flags "See the full list of flags available via the Hugo CLI."
[flag]: /getting-started/basic-usage/ "See the full list of flags in Hugo's basic usage."
[configuration]: /project-organization/configuration/ "Learn how to customize your Hugo website configuration file in yaml, toml, or json."
[themesrepo]: https://github.com/spf13/hugoThemes
+19 -26
View File
@@ -12,99 +12,92 @@ gettingstarted:
haschildren: true
sortsubpagesby: "weight"
desc: "Quick start, cross-platform installation, configuration, basic usage, and directory structure"
# projectorganization:
# order: 3
# title: "Project Organization"
# url: "project-organization"
# haschildren: true
# sortsubpagesby: "weight"
# desc: "Site configuration, scaffolding of new projects, and source organization"
contentmanagement:
order: 4
order: 3
title: "Content Management"
url: "content-management"
haschildren: true
sortsubpagesby: "weight"
desc: "Summaries, shortcodes, archetypes, permalinks, front matter, and supported content formats"
templates:
order: 5
order: 4
title: "Templates"
url: "templates"
haschildren: true
sortsubpagesby: "weight"
desc: "Pagination, homepage, rss, sitemap, lookup order, and data templates"
functions:
order: 6
order: 5
title: "Functions"
url: "functions"
haschildren: true
sortsubpagesby: "title"
desc: "Comprehensive list of Hugo templating functions, including basic and advanced usage examples"
variablesandparams:
order: 7
order: 6
title: "Variables and Params"
url: "variables-and-params"
haschildren: true
sortsubpagesby: "weight"
desc: "Page-, file-, taxonomy-, and site-level variables and parameters available in templates"
themes:
order: 8
order: 7
title: "Themes"
url: "themes"
haschildren: true
sortsubpagesby: "weight"
desc: "Install, use, and create your own Hugo themes"
hostinganddeployment:
order: 9
order: 8
title: "Hosting and Deployment"
url: "hosting-and-deployment"
haschildren: true
sortsubpagesby: "weight"
desc: "Site builds, automated deployments, and popular hosting solutions, as explained by the Hugo community"
# migratingtohugo:
# order: 10
# title: "Migrating to Hugo"
# url: "migrating-to-hugo"
# haschildren: true
# sortsubpagesby: "weight"
# desc: "Tools for migrating to Hugo from other platforms or generators (eg, Wordpress or Jekyll)"
tutorials:
order: 11
order: 9
title: "Tutorials"
url: "tutorials"
haschildren: true
sortsubpagesby: "weight"
desc: "Community-aggregated articles and code examples for approaching different projects using Hugo"
developertools:
order: 12
order: 10
title: "Developer Tools"
url: "developer-tools"
haschildren: true
sortsubpagesby: "weight"
desc: "Command line reference, syntax highlighting, and migration tools"
commands:
order: 11
title: "Command Line Reference"
url: "commands"
haschildren: false
sortsubpagesby: false
desc: "Hugo's easy-to-use but extensive command line interface"
troubleshooting:
order: 13
order: 12
title: "Troubleshooting"
url: "troubleshooting"
haschildren: true
sortsubpagesby: "weight"
desc: "Known issues and workarounds, as well as FAQs pulled from the Hugo discussion forum"
news:
order: 14
order: 13
title: "News"
url: "news"
haschildren: true
sortsubpagesby: "weight"
desc: "Articles featuring Hugo, as well as updates and release notes for the project"
siteshowcase:
order: 15
order: 14
title: "Site Showcase"
url: "showcase"
haschildren: false
sortsubpagesby: "weight"
desc: "A collection of websites built using Hugo"
contributetohugo:
order: 16
order: 15
title: "Contribute to Hugo"
url: "contribute-to-hugo"
haschildren: true
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

+10 -9
View File
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="images/favicons/mstile-150x150.png"/>
<square310x310logo src="images/favicons/mstile-310x310.png"/>
<TileColor>#2d89ef</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1000 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

+41 -16
View File
@@ -1,17 +1,42 @@
{
"name": "Hugo",
"icons": [
{
"src": "\/images\/favicons\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
},
{
"src": "\/images\/favicons\/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image\/png"
}
],
"theme_color": "#ffffff",
"display": "standalone"
}
"name": "Hugo",
"icons": [
{
"src": "images/favicons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "images/favicons/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+11 -32
View File
@@ -2,42 +2,21 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="1153.000000pt" height="1153.000000pt" viewBox="0 0 1153.000000 1153.000000"
width="16.000000pt" height="16.000000pt" viewBox="0 0 16.000000 16.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,1153.000000) scale(0.100000,-0.100000)"
<g transform="translate(0.000000,16.000000) scale(0.006250,-0.006250)"
fill="#000000" stroke="none">
<path d="M5605 11514 c-100 -19 -181 -57 -400 -186 -16 -10 -49 -28 -72 -40
-24 -12 -43 -26 -43 -30 0 -4 -5 -8 -10 -8 -10 0 -65 -31 -460 -260 -102 -59
-202 -117 -223 -129 -21 -12 -108 -62 -192 -111 -84 -49 -171 -99 -192 -111
-31 -18 -129 -74 -215 -124 -35 -20 -313 -181 -357 -206 -25 -15 -149 -86
-276 -159 -403 -234 -1028 -595 -1090 -631 -74 -42 -42 -23 -371 -214 -152
-88 -293 -170 -313 -182 -20 -12 -52 -30 -71 -41 -189 -102 -349 -204 -403
-257 -96 -93 -167 -210 -221 -360 l-21 -60 -2 -2620 c-2 -2772 -4 -2646 41
-2777 48 -138 182 -319 277 -375 16 -10 29 -21 29 -25 0 -4 4 -8 9 -8 6 0 60
-29 121 -65 61 -36 130 -76 153 -88 23 -13 125 -72 226 -130 101 -59 186 -107
188 -107 3 0 17 -8 31 -19 15 -10 47 -29 72 -43 25 -14 123 -71 219 -127 96
-55 175 -101 176 -101 2 0 49 -27 104 -60 56 -33 106 -60 111 -60 6 0 10 -4
10 -10 0 -5 4 -10 9 -10 5 0 149 -81 320 -180 172 -100 326 -189 344 -199 18
-10 145 -83 282 -163 138 -80 266 -153 285 -163 19 -10 37 -21 40 -24 3 -3 19
-13 35 -22 17 -9 128 -73 249 -143 120 -69 220 -126 223 -126 2 0 24 -14 48
-30 24 -17 46 -30 48 -30 3 0 66 -36 142 -80 76 -44 139 -80 141 -80 3 0 23
-12 47 -27 67 -42 745 -432 796 -457 97 -48 164 -59 347 -53 142 4 179 8 233
27 36 13 277 146 535 295 259 150 486 280 505 291 18 10 41 24 50 29 9 6 43
25 76 44 33 19 139 80 235 136 96 56 240 139 320 185 80 46 224 129 320 185
283 164 711 411 765 440 28 15 57 34 66 41 8 8 19 14 22 14 4 0 44 22 89 49
84 50 444 258 508 294 48 26 422 242 490 283 30 18 124 72 209 121 311 178
342 198 392 245 89 84 152 179 210 313 l34 80 3 2671 c2 2366 0 2676 -13 2708
-8 20 -16 39 -16 43 -5 34 -55 133 -105 208 -38 58 -114 139 -164 176 -29 21
-325 195 -475 279 -22 12 -52 31 -67 41 -14 11 -29 19 -31 19 -3 0 -114 63
-247 140 -133 77 -260 151 -283 164 -23 13 -114 65 -202 116 -333 193 -732
424 -775 448 -25 13 -49 28 -55 32 -5 4 -32 20 -60 36 -27 15 -63 35 -80 45
-16 10 -55 32 -85 49 -30 17 -68 39 -85 49 -33 20 -465 269 -533 308 -23 13
-91 52 -151 87 -59 34 -114 66 -122 69 -8 4 -27 16 -44 26 -35 22 -192 113
-250 145 -22 13 -96 56 -165 96 -69 40 -141 82 -160 92 -19 11 -75 44 -125 73
-49 29 -110 63 -135 77 -25 14 -101 58 -170 98 -168 99 -234 127 -332 144 -96
17 -238 17 -323 0z"/>
<path d="M1118 2481 c-76 -45 -139 -81 -141 -81 -3 0 -53 -29 -112 -65 -59
-36 -108 -65 -110 -65 -2 0 -32 -17 -67 -37 -35 -21 -79 -47 -99 -58 -239
-133 -399 -233 -414 -258 -16 -26 -17 -84 -17 -637 0 -493 3 -613 14 -636 13
-28 166 -131 196 -133 6 -1 12 -5 12 -11 0 -5 4 -10 9 -10 5 0 91 -48 192
-106 101 -59 200 -116 219 -127 19 -10 124 -71 232 -134 245 -142 248 -143
360 -78 45 26 97 56 116 66 44 25 334 195 375 219 18 11 41 24 52 29 74 34
433 254 449 274 17 23 18 57 18 640 0 569 -1 618 -17 645 -13 21 -65 57 -173
118 -254 146 -349 201 -689 398 -111 64 -216 119 -235 122 -28 4 -54 -7 -170
-75z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<circle cx="256" cy="256" r="256" style="fill:rgb(115,115,115);"/>
<g transform="matrix(1.46332,0,0,1.46332,-118.606,-118.61)">
<circle cx="256" cy="256" r="153.078" style="fill:rgb(0,131,192);"/>
</g>
<g>
<g id="c43_terminal" transform="matrix(9.49911,0,0,9.5136,109.475,109.253)">
<g transform="matrix(1.16956,0,0,1.02633,-2.61549,-0.406172)">
<path d="M28.645,2.203L2.204,2.203C0.987,2.203 0,3.188 0,4.405L0,26.443C0,27.659 0.987,28.647 2.204,28.647L28.645,28.647C29.86,28.647 30.851,27.659 30.851,26.443L30.851,4.405C30.851,3.188 29.859,2.203 28.645,2.203ZM7.162,3.857C7.769,3.857 8.264,4.348 8.264,4.96C8.264,5.567 7.77,6.058 7.162,6.058C6.551,6.058 6.058,5.568 6.058,4.96C6.059,4.349 6.551,3.857 7.162,3.857ZM3.855,3.857C4.463,3.857 4.957,4.348 4.957,4.96C4.957,5.567 4.464,6.058 3.855,6.058C3.246,6.058 2.752,5.568 2.752,4.96C2.753,4.349 3.246,3.857 3.855,3.857Z" style="fill-rule:nonzero;stroke:white;stroke-width:0.1px;"/>
</g>
<g transform="matrix(0.105273,0,0,0.105113,-11.5248,-11.4838)">
<ellipse cx="131.477" cy="156.317" rx="12.534" ry="13.17" style="fill:rgb(0,0,11);stroke:rgb(0,0,11);stroke-width:18px;stroke-linecap:round;stroke-miterlimit:1.5;"/>
</g>
<g transform="matrix(0.105273,0,0,0.105113,-7.99529,-11.4838)">
<ellipse cx="131.477" cy="156.317" rx="12.534" ry="13.17" style="fill:rgb(0,0,11);stroke:rgb(0,0,11);stroke-width:18px;stroke-linecap:round;stroke-miterlimit:1.5;"/>
</g>
</g>
<g transform="matrix(10.4676,0,0,8.99737,94.5364,117.216)">
<g id="c43_terminal1">
<path d="M28.645,2.203L2.204,2.203C0.987,2.203 0,3.188 0,4.405L0,26.443C0,27.659 0.987,28.647 2.204,28.647L28.645,28.647C29.86,28.647 30.851,27.659 30.851,26.443L30.851,4.405C30.851,3.188 29.859,2.203 28.645,2.203ZM7.162,3.857C7.769,3.857 8.264,4.348 8.264,4.96C8.264,5.567 7.77,6.058 7.162,6.058C6.551,6.058 6.058,5.568 6.058,4.96C6.059,4.349 6.551,3.857 7.162,3.857ZM3.855,3.857C4.463,3.857 4.957,4.348 4.957,4.96C4.957,5.567 4.464,6.058 3.855,6.058C3.246,6.058 2.752,5.568 2.752,4.96C2.753,4.349 3.246,3.857 3.855,3.857Z" style="fill:rgb(38,38,38);fill-rule:nonzero;"/>
</g>
</g>
<rect x="121.712" y="146.339" width="63.787" height="33.685" style="fill:rgb(38,38,38);"/>
<g transform="matrix(0.897049,0,0,0.787196,207.154,151.563)">
<path d="M210.9,76.344L213.855,81.842L213.855,184.648L210.851,190.179L121.99,240.618L117.265,240.616L28.547,190.175L25.545,184.646L25.545,81.844L28.498,76.349L117.216,24.722L122.039,24.72L210.9,76.344ZM45.611,92.065L45.611,174.323L119.635,216.409L193.79,174.317L193.79,92.07L119.635,48.99L45.611,92.065Z" style="fill:white;"/>
</g>
<g transform="matrix(0.759984,0,0,0.755703,213.114,215.116)">
<path d="M179.238,106.552L154.758,106.552L154.758,62.2L112.134,62.2L112.134,106.552L87.654,106.552L87.654,1.648L112.134,1.648L112.134,45.496L154.758,45.496L154.758,1.648L179.238,1.648L179.238,106.552Z" style="fill:white;fill-rule:nonzero;"/>
</g>
</g>
<g transform="matrix(12.2363,0,0,11.9218,57.1656,101.72)">
<path d="M12.351,12.264L5.275,9.028L5.275,10.589L10.746,12.929L10.746,12.958L5.275,15.294L5.275,16.854L12.351,13.618L12.351,12.264Z" style="fill:white;fill-rule:nonzero;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

@@ -1,22 +1,11 @@
<!-- Favicons - go to http://realfavicongenerator.net/ for easy generation after you've designed your logo.-->
<link rel="apple-touch-icon" sizes="57x57" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="180x180" href="{{.Site.BaseURL}}images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="{{.Site.BaseURL}}images/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="{{.Site.BaseURL}}images/favicons/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="{{.Site.BaseURL}}images/favicons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="{{.Site.BaseURL}}images/favicons/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="{{.Site.BaseURL}}images/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="{{.Site.BaseURL}}images/favicons/manifest.json">
<link rel="mask-icon" href="{{.Site.BaseURL}}images/favicons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="{{.Site.BaseURL}}images/favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="msapplication-TileImage" content="{{.Site.BaseURL}}images/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="{{.Site.BaseURL}}images/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
+14 -6
View File
@@ -1,8 +1,16 @@
{{ define "main" }}
<h1>Hugo Commands</h1>
{{.Content}}
{{ range .Data.Pages }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
{{ end }}
</ul>
<main class="main">
<header class="content-header">
{{partial "breadcrumb.html" . }}
<h1 class="page-title {{if eq .Kind "page"}}{{.Section}}{{end}}" id="{{ .Title | urlize }}">
{{- partial "list-icon.html" . -}}
{{- .Title | markdownify -}}</h1>
{{partial "content-header-links.html" . }}
{{partial "tags.html" . }}
</header>
<div class="body-copy">
{{.Content}}
{{partial "contents-list.html" .}}
</div>
</main>
{{ end }}