Patrick Kollitsch
cc6da237ea
theme(fix): use internal methods to evaluate environment
...
closes #625
closes #733
closes #453
closes #574
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-21 10:03:45 +07:00
Joe Mooring
0b0fe2fd45
refactor: Simplify lang attribute in html element
2024-10-17 09:36:37 -07:00
Johannes Arnold
0d068637cc
Include authors meta tag ( #634 )
2024-04-18 11:23:24 -04:00
Joris Conijn
221a0d8817
feat: add canonical url support ( #650 )
...
When you want to publish content that is already published on a different site. You need to reference a canonical url of the original content.
By defining the `canonicalUrl` in the front matter definition the canonical url is set in the headers.
2023-11-21 14:41:58 -05:00
Regis Philibert
c62bf44379
html[lang]: use site.Language.Lang
when languageCode
is not set. ( #617 )
...
Fixes #613
2023-02-03 14:55:04 -05:00
Aren Siekmeier
6affbfb0dd
fix permissions ( #581 )
2022-12-14 09:56:24 -05:00
Steven Solomon
26a78654fa
Add support for GA4 ( #572 )
...
Use new default Hugo GA template
2022-09-06 10:05:55 -04:00
Regis Philibert
c49009b823
Only add html[dir] attr if languageDirection is explicitly set
2022-04-21 14:23:44 -04:00
Meir Kriheli
19242fd2f8
Added support for Right-To-Left languages ( #532 )
...
* Added support for Right-To-Left languages
* Added language-direction partial
2022-04-21 14:17:49 -04:00
Regis Philibert
87f97e55bb
Allow certain pages to not be indexed by SE
...
Fixes #499
2022-02-02 13:42:05 -05:00
Regis Philibert
3592ce1c03
Re-introducing site-scripts partial for user to overwrite
...
Fixes #464
2021-12-23 16:33:51 -05:00
Regis Philibert
ffd9d903c9
Add optional processing of styles with Hugo Pipes ( #387 )
...
* Using resources.PostCSS to handle stylesheets
* Allow optional processing of assets through Hugo Pipes
* We can settle with 0.64.0
2021-01-19 15:43:02 -05:00
Enguerran
f5cdf1f3a6
Update baseof template ( #348 )
...
* Update comments about internal templates
* Add missing meta description for SEO
* Add variable scoping to partial
See https://gohugo.io/templates/partials/#variable-scoping
2020-10-06 08:15:01 -04:00
Tanner Smith
9752a70c09
Add head partial ( #285 )
...
* Add head-additions partial
2020-06-03 16:01:01 -05:00
nickjwhite
cfbd40cd86
Fix relURL for custom_css ( #252 )
...
The way relURL was used meant that one needed to preface the custom_css
entries with a slash, or the href would be incorrectly set to
subdircss/mycss.css rather than subdir/css/mycss.css, in the case of
a baseURL in a subdir.
Co-authored-by: Nick White <git@njw.name>
2020-06-03 10:16:59 -04:00
Tanner Smith
252a11baa7
Swap the page title and site title in page <title> elements ( #272 )
2020-04-28 12:53:57 -04:00
Jesse
287b3ff5e9
Fixes #212 . ( #213 )
2019-09-28 08:49:03 -04:00
Jorge Martínez López
c474ce0c66
Deprecation messages fixes. ( #196 )
...
* Fixes #180 .
* Trying to fix .RSSLink deprecation message.
2019-09-15 15:12:51 -04:00
Christian Oliff
79f418c185
Remove Google News meta tags ( #197 )
...
These have been deprecated by Google
2019-09-02 12:42:56 -04:00
Christian Oliff
8124777a18
remove deprecated meta tags for old Windows Mobile and BlackBerry ( #191 )
2019-08-10 09:25:22 -04:00
echarp
175482653c
Optimisation "partialCached" ( #165 )
...
* Create fr.toml
French translation
* Social link to "mastodon" added
* Some statics partials are cached, to optimise rendering
2019-03-21 19:13:18 -04:00
Daniele Ricci
1d79e2d477
Use relative url function for custom CSS files ( #132 )
...
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
2018-09-19 12:55:38 -04:00
Anthony Fok
89c26174a4
Fix asset paths when baseURL has sub-folder ( #103 )
...
See #97
2018-05-17 16:54:40 -04:00
shawn
41727a62e2
Issue 98 ( #101 )
...
* Add custom_css parameter.
* Copy documentation from hugo-octopress.
2018-04-24 08:48:53 -04:00
budparr
6e5e6df161
Make asset paths absolute
...
Fixes #97
2018-04-14 14:12:22 -04:00
Bud Parr
8b43f4662e
Replace Asset References with a data file instead of paths ( #96 )
...
* Add assets-webpack-plugin
Signed-off-by: budparr <budparr@gmail.com>
* Add generated Webpack Assets file
This file is generated by Webpack and writes the names of our hashed assets
Signed-off-by: budparr <budparr@gmail.com>
* Update stylesheet
Note sure why this was updated
Signed-off-by: budparr <budparr@gmail.com>
* Add CSS file from generated file
Replaces hardcoded path
Signed-off-by: budparr <budparr@gmail.com>
2018-04-10 18:35:56 -04:00
Bud Parr
1f3b6f5598
Pre-2.0 Enhancements ( #94 )
...
2.0 Enhancements
- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature
- Add asset hashing to Webpack for performance
2018-04-09 12:33:10 -04:00
Den McHenry
d5b87cb15e
Don't duplicate site title in home page TITLE tag ( #78 )
...
Let's say your `.Site.Title` is "My Website". The code grabs `.Site.Title`, and then then checks to see if there's a `.Title`. When you're on the homepage, `.Title` is equivalent to `.Site.Title`, so that the browser bar will read:
> My Website | My Website
If we qualify `.Title` by confining to the `.Params` namespace, then the site title isn't duplicated:
```<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>```
> My Website
But it still picks up `.Title` from posts and pages, where a content title exists in front matter:
> My Website | About Me
2018-01-15 20:26:37 -05:00
Adam Kaplan
1e37db6cef
Favicons ( #54 )
...
* Adding support for favicon
* Fixing html tag
2017-09-27 07:52:26 -04:00
alea12
c850d4f9f8
indent fix ( #45 )
2017-09-26 11:55:13 -04:00
Bud Parr
a3dc1ac327
Add body_classes parameter to body
...
Fixes #43
2017-08-23 20:00:53 -04:00
Bud Parr
0756c5260e
use a cleaner way to include language code
2017-04-17 10:54:58 -04:00
Bud Parr
1871755a89
add Hugo RSS Link
2017-04-17 09:05:36 -04:00
Bud Parr
fa51177f05
add site params to env check in head
2017-04-15 10:12:59 -04:00
Bud Parr
9a2b45e91f
add getenv
2017-04-14 23:46:58 -04:00
Bud Parr
1d05813c11
add some readme and annotations
2017-04-14 23:36:23 -04:00
Bud Parr
f720177809
add some readme and annotations
2017-04-14 23:08:11 -04:00
Bud Parr
6331805b90
clean up layouts
2017-04-13 23:01:23 -04:00
Bud Parr
1d810d7237
add absolute url to css
2017-04-12 11:49:39 -04:00
Bud Parr
426676fd3c
page layout [wip]
2017-04-11 22:22:06 -04:00
Bud Parr
91984fee72
tweak layouts
2017-04-11 08:53:11 -04:00
Bud Parr
98bc281a57
first commit
2017-04-10 21:27:13 -04:00