diff options
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | layouts/partials/header.html | 7 | ||||
-rw-r--r-- | static/css/main.css | 5 |
3 files changed, 16 insertions, 9 deletions
@@ -21,7 +21,7 @@ From the root of your blog: ``` mkdir -p themes cd themes -git clone https://github.com/shenoybr/hugo-goa +git clone https://github.com/shenoybr/hugo-goa ``` ## Content creation @@ -39,7 +39,7 @@ or hugo new posts/first.md ```` -You can now go ahead an edit the newly created file under the `content` directory. Once you are finished editing, to have hugo generate the page, set `draft = false` in the articles front matter. +You can now go ahead an edit the newly created file under the `content` directory. Once you are finished editing, to have hugo generate the page, set `draft = false` in the articles front matter. ### Organizing pages @@ -108,10 +108,14 @@ These settings to display your social accounts. - `github`: Your github username. - `instagram`: Your instagram username. - `xing`: Your xing username. -- `linkedin`: Your linkedIn username. +- `linkedin`: Your linkedin username. - `twitter`: Your twitter username. - `facebook`: Your facebook username. - `google`: Your google username. +- `medium`: Your medium username. +- `devto`: Your dev.to username. +- `stackoverflow`: Your stackoverflow username. +- `angellist`: Your angellist username. - `email`: Your email. ### Extras `[params.extra]` @@ -192,7 +196,7 @@ Example: 3. Make sure your code follows the style of the project. 4. Test it thoroughly. 5. Open a PR requesting for it to be merged. -6. Describe the feature or issue your are solving in detail. +6. Describe the feature or issue your are solving in detail. 7. Wait for its approval. 8. Merge and Rejoice. @@ -208,4 +212,3 @@ The theme's design was inspired by many blogs and themes: ## License Licensed under the [MIT](https://opensource.org/licenses/MIT) License. See the [LICENSE](https://raw.githubusercontent.com/shenoybr/hugo-goa/master/LICENSE) file for more details. - diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fef64a0..8b4a481 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -16,10 +16,9 @@ {{ .Hugo.Generator }} -{{ if .RSSLink }} - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> - <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> -{{ end }} +{{ range .AlternativeOutputFormats -}} + <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> +{{ end -}} {{ if .Site.Params.extra.highlightjs }} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.extra.highlightjsstyle | default "default" }}.min.css"> diff --git a/static/css/main.css b/static/css/main.css index e37a2a3..a98c8f5 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -255,3 +255,8 @@ header.title margin-top: 30px; } } +pre > code { + white-space: pre; + word-wrap: initial; + word-break: initial; +} |