docs(fix): typos (#775)
This commit is contained in:
parent
892eaf2f18
commit
61c3ec6fd4
|
@ -113,7 +113,7 @@ For any page or post you can add a featured image by including the local path in
|
||||||
|
|
||||||
#### Featured image as Page Resources
|
#### Featured image as Page Resources
|
||||||
|
|
||||||
If user is using [Page Resources](https://gohugo.io/content-management/page-resources/), the theme will try and match the `featured_image` from with a page resource of type `image` and use its relative permalink. If no `featured_image` is set, the theme will look for a Page Resource of type `image` whose filepath incudes either `cover` or `feature`
|
If user is using [Page Resources](https://gohugo.io/content-management/page-resources/), the theme will try and match the `featured_image` from with a page resource of type `image` and use its relative permalink. If no `featured_image` is set, the theme will look for a Page Resource of type `image` whose filepath includes either `cover` or `feature`
|
||||||
|
|
||||||
#### Other hero settings
|
#### Other hero settings
|
||||||
|
|
||||||
|
@ -123,11 +123,11 @@ You don't need an image though. The default background color is black, but you c
|
||||||
|
|
||||||
example: `background_color_class = "bg-blue"` or `background_color_class = "bg-gray"`
|
example: `background_color_class = "bg-blue"` or `background_color_class = "bg-gray"`
|
||||||
|
|
||||||
The default fitting and alignment for th featured image is `cover bg-top`, but can be changed using the `featured_image_class`. Choose an fitting and alignment style for the featured image using tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment.
|
The default fitting and alignment for the featured image is `cover bg-top`, but can be changed using the `featured_image_class`. Choose a fitting and alignment style for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment.
|
||||||
|
|
||||||
example: `featured_image_class = "cover bg-center"` or `featured_image_class = "contain bg-top"`
|
example: `featured_image_class = "cover bg-center"` or `featured_image_class = "contain bg-top"`
|
||||||
|
|
||||||
The default cover backdrop for the featured image is `bg-black-60`, but can be changed using the `cover_dimming_class`. Choose a color dimming class for the page or size header from any on the [Tachyons](https://tachyons.io/docs/themes/skins/) library site, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
|
The default cover backdrop for the featured image is `bg-black-60`, but can be changed using the `cover_dimming_class`. Choose a color dimming class for the page or site header from any on the [Tachyons](https://tachyons.io/docs/themes/skins/) library site, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
|
||||||
|
|
||||||
example: `cover_dimming_class = "bg-black-20"` or `cover_dimming_class = "bg-white-40"`
|
example: `cover_dimming_class = "bg-black-20"` or `cover_dimming_class = "bg-white-40"`
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ _n.b. in future versions we will likely separate the typeface and other body cla
|
||||||
|
|
||||||
### CSS
|
### CSS
|
||||||
|
|
||||||
Ananke stylesheet is built with Hugo Pipes's [Asset Bundling](https://gohugo.io/hugo-pipes/bundling/#readout) alone to maximize compatibiliy. The theme simply bundles its several files into one minified and fingerprinted (in production) CSS file.
|
Ananke stylesheet is built with Hugo Pipes's [Asset Bundling](https://gohugo.io/hugo-pipes/bundling/#readout) alone to maximize compatibility. The theme simply bundles its several files into one minified and fingerprinted (in production) CSS file.
|
||||||
|
|
||||||
Ananke uses [Tachyons.io](https://tachyons.io/) utility class library.
|
Ananke uses [Tachyons.io](https://tachyons.io/) utility class library.
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,9 @@ site_logo = ""
|
||||||
description = "The last theme you'll ever need. Maybe."
|
description = "The last theme you'll ever need. Maybe."
|
||||||
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
|
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
|
||||||
background_color_class = "bg-black"
|
background_color_class = "bg-black"
|
||||||
# choose an fitting and alignment style for the featured image using tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
|
# choose fitting and alignment styles for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
|
||||||
featured_image_class = "cover bg-top"
|
featured_image_class = "cover bg-top"
|
||||||
# choose a color dimming class for the page or size header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
|
# choose a color dimming class for the page or site header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
|
||||||
cover_dimming_class = "bg-black-60"
|
cover_dimming_class = "bg-black-60"
|
||||||
recent_posts_number = 3
|
recent_posts_number = 3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue