mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 07:24:45 -04:00
Update site.recent closes #46
This commit is contained in:
parent
ff2931c60d
commit
e3f7988507
@ -95,7 +95,6 @@ watch = true
|
|||||||
hrefTargetBlank = true
|
hrefTargetBlank = true
|
||||||
angledQuotes = false
|
angledQuotes = false
|
||||||
latexDashes = true
|
latexDashes = true
|
||||||
extensions = ["hardLineBreak"]
|
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = "tags"
|
tag = "tags"
|
@ -328,8 +328,7 @@ Names must be prefixed with `HUGO_` and the configuration key must be set in upp
|
|||||||
|
|
||||||
## Ignoring Files When Rendering
|
## Ignoring Files When Rendering
|
||||||
|
|
||||||
The following statement inside `./config.toml` will cause Hugo to ignore files
|
The following statement inside `./config.toml` will cause Hugo to ignore files ending with `.foo` and `.boo` when rendering:
|
||||||
ending with `.foo` and `.boo` when rendering:
|
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
ignoreFiles = [ "\\.foo$", "\\.boo$" ]
|
ignoreFiles = [ "\\.foo$", "\\.boo$" ]
|
||||||
@ -339,8 +338,7 @@ The above is a list of regular expressions. Note that the backslash (`\`) charac
|
|||||||
|
|
||||||
## Configuring Blackfriday
|
## Configuring Blackfriday
|
||||||
|
|
||||||
[Blackfriday](https://github.com/russross/blackfriday) is Hugo's built-in
|
[Blackfriday](https://github.com/russross/blackfriday) is Hugo's built-in Markdown rendering engine.
|
||||||
Markdown rendering engine.
|
|
||||||
|
|
||||||
Hugo typically configures Blackfriday with sane default values that should fit most use cases reasonably well.
|
Hugo typically configures Blackfriday with sane default values that should fit most use cases reasonably well.
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ The following is a list of site-level (aka "global") variables. Many of these va
|
|||||||
: all of the menus in the site.
|
: all of the menus in the site.
|
||||||
|
|
||||||
`.Site.Pages`
|
`.Site.Pages`
|
||||||
: array of all content ordered by Date with the newest first. `.Site.Pages` replaced the deprecated `.Site.Recent` as of Hugo v0.13. This array contains only the pages in the current language.
|
: array of all content ordered by Date with the newest first. `.Site.Pages` replaced `.Site.Recent`, which is no longer supported. This array contains only the pages in the current language.
|
||||||
|
|
||||||
`.Site.Permalinks`
|
`.Site.Permalinks`
|
||||||
: a string to override the default [permalink](/content-management/urls/) format as defined in the site configuration.
|
: a string to override the default [permalink](/content-management/urls/) format as defined in the site configuration.
|
||||||
|
File diff suppressed because one or more lines are too long
@ -18,6 +18,7 @@
|
|||||||
@import 'components/lists';
|
@import 'components/lists';
|
||||||
@import 'components/anchors';
|
@import 'components/anchors';
|
||||||
@import 'components/images';
|
@import 'components/images';
|
||||||
|
@import 'components/video';
|
||||||
@import 'components/admonitions';
|
@import 'components/admonitions';
|
||||||
@import 'vendor/highlightjs';
|
@import 'vendor/highlightjs';
|
||||||
@import 'components/code';
|
@import 'components/code';
|
||||||
@ -34,17 +35,19 @@
|
|||||||
@import 'components/tables';
|
@import 'components/tables';
|
||||||
@import 'components/shortcode-examples';
|
@import 'components/shortcode-examples';
|
||||||
@import 'components/gopher';
|
@import 'components/gopher';
|
||||||
@import 'components/video';
|
|
||||||
|
|
||||||
//vendor
|
//vendor
|
||||||
@import 'vendor/featherlight';
|
@import 'vendor/featherlight';
|
||||||
@import 'vendor/animatecss-truncated';
|
@import 'vendor/animatecss-truncated';
|
||||||
|
|
||||||
//major layout parts/chrome
|
//major layout parts/chrome
|
||||||
@import 'layout/site-header';
|
@import 'layout/site-header';
|
||||||
@import 'layout/site-navigation';
|
@import 'layout/site-navigation';
|
||||||
@import 'layout/site-content';
|
@import 'layout/site-content';
|
||||||
@import 'layout/showcase';
|
@import 'layout/showcase';
|
||||||
@import 'layout/site-footer';
|
@import 'layout/site-footer';
|
||||||
|
|
||||||
//styles for individual pages
|
//styles for individual pages
|
||||||
// @import 'pages/homepage';
|
// @import 'pages/homepage';
|
||||||
@import 'pages/homepage';
|
@import 'pages/homepage';
|
||||||
|
2
static/css/style.min.css
vendored
2
static/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user