mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 12:24:39 -04:00
Update site.recent closes #46
This commit is contained in:
parent
ff2931c60d
commit
e3f7988507
@ -95,7 +95,6 @@ watch = true
|
||||
hrefTargetBlank = true
|
||||
angledQuotes = false
|
||||
latexDashes = true
|
||||
extensions = ["hardLineBreak"]
|
||||
|
||||
[taxonomies]
|
||||
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
|
||||
|
||||
The following statement inside `./config.toml` will cause Hugo to ignore files
|
||||
ending with `.foo` and `.boo` when rendering:
|
||||
The following statement inside `./config.toml` will cause Hugo to ignore files ending with `.foo` and `.boo` when rendering:
|
||||
|
||||
```toml
|
||||
ignoreFiles = [ "\\.foo$", "\\.boo$" ]
|
||||
@ -339,8 +338,7 @@ The above is a list of regular expressions. Note that the backslash (`\`) charac
|
||||
|
||||
## Configuring Blackfriday
|
||||
|
||||
[Blackfriday](https://github.com/russross/blackfriday) is Hugo's built-in
|
||||
Markdown rendering engine.
|
||||
[Blackfriday](https://github.com/russross/blackfriday) is Hugo's built-in Markdown rendering engine.
|
||||
|
||||
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.
|
||||
|
||||
`.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`
|
||||
: 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/anchors';
|
||||
@import 'components/images';
|
||||
@import 'components/video';
|
||||
@import 'components/admonitions';
|
||||
@import 'vendor/highlightjs';
|
||||
@import 'components/code';
|
||||
@ -34,17 +35,19 @@
|
||||
@import 'components/tables';
|
||||
@import 'components/shortcode-examples';
|
||||
@import 'components/gopher';
|
||||
@import 'components/video';
|
||||
|
||||
|
||||
//vendor
|
||||
@import 'vendor/featherlight';
|
||||
@import 'vendor/animatecss-truncated';
|
||||
|
||||
//major layout parts/chrome
|
||||
@import 'layout/site-header';
|
||||
@import 'layout/site-navigation';
|
||||
@import 'layout/site-content';
|
||||
@import 'layout/showcase';
|
||||
@import 'layout/site-footer';
|
||||
|
||||
//styles for individual pages
|
||||
// @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