Alan Orth
eb27c47fc5
tpl: Use og:updated_time OpenGraph tag on nodes
...
A previous commit greatly improved the OpenGraph tags generated by
Hugo's internal opengraph template, but there was a minor error in
the fix. Nodes are of type "website" and according to the Facebook
docs they should use og:updated_time.
See: https://github.com/spf13/hugo/pull/2979
See: https://developers.facebook.com/docs/reference/opengraph/object-type/website/
2017-02-21 14:41:09 +01:00
John Feminella
df1ff57d1a
Use Page.Params more consistently when adding metadata
2017-02-21 14:23:39 +01:00
Bjørn Erik Pedersen
2cbdd65330
tpl, hugolib: Fix live-reload of non-renderable content pages
...
Fixes #3062
2017-02-21 13:56:20 +01:00
Alan Orth
4e77c8717b
tpl: Remove twitter:domain tag from internal shortcode
...
It seems this metadata tag is no longer used by Twitter, as it has
been removed from their Cards Markup Tag Reference since at least
2013 according to a post on the W3 mailing list.
See: https://dev.twitter.com/cards/markup
See: https://lists.w3.org/Archives/Public/www-validator/2013Oct/0025.html
2017-02-21 13:24:44 +01:00
Li-aung Yip
3bb96e0bc9
docs: Improve documentation for menu rendering
...
Fixes #1393
2017-02-21 10:38:12 +01:00
Li-aung Yip
d3fb196067
docs: Improve documentation for menu rendering
...
Fixes #1393
2017-02-21 10:38:12 +01:00
Ryan Watters
f8115778b4
Add comments and analytics to partials page
2017-02-21 03:35:54 -06:00
Ryan Watters
9bdc96fa21
Add content for syntax highlighting
2017-02-21 03:32:21 -06:00
Ryan Watters
f8267ffe64
Add Scratch function page
2017-02-21 03:30:13 -06:00
Ryan Watters
122e3c4f57
Add toc to most template pages
2017-02-21 03:19:47 -06:00
Ryan Watters
1aafe65fa1
Update content sections page
2017-02-21 03:11:23 -06:00
Ryan Watters
cbb0461c2f
Fix typos and revise text on install and tutorial pages
2017-02-21 02:58:01 -06:00
Bjørn Erik Pedersen
2320c5682c
commands: Make sure build error is logged in watch mode
...
See #3062
2017-02-21 09:46:56 +01:00
Bjørn Erik Pedersen
41857d036d
utils: Use local logger
2017-02-21 09:41:56 +01:00
Ryan Watters
d04a24578e
Add tree.txt
2017-02-21 02:22:06 -06:00
Ryan Watters
03d0a338a7
Update functions content footer and added new funcs for menus
2017-02-21 01:55:58 -06:00
Bjørn Erik Pedersen
75d855c086
hugolib: Add check for p.Markup == "org"
...
To be improved.
2017-02-21 08:49:04 +01:00
Chase Adams
4aec77ff51
all: Add org-mode support
...
Fixes #1483
See #936
2017-02-21 08:46:03 +01:00
Chase Adams
86e8dd62f0
all: Add org-mode support
...
Fixes #1483
See #936
2017-02-21 08:46:03 +01:00
Ryan Watters
d2f2d9a3f0
Update temp command section and reverted to old favicon
2017-02-21 01:09:56 -06:00
Ryan Watters
e34a358e39
Add first part of command section
2017-02-20 23:57:11 -06:00
Ryan Watters
1645c50123
Add review badge on incomplete pages
2017-02-20 17:15:05 -06:00
Bjørn Erik Pedersen
a3af4fe46e
hugolib: Finish menu vs section content pages
...
This commit also fixes the default menu sort when the weight is 0.
Closes #2974
2017-02-20 22:20:02 +01:00
Abdo Roig-Maranges
2a6b26a7a5
hugolib: Improve menu generation for section pages with content
...
When using the lazy blogger setting to automatically generate menu
entries from section pages, we now recognize section pages that have
content, and use the weight and linktitle configured in the frontmatter.
This way, we can use the lazy blogger automatic generation, and
influence menu order and translations, directly from the frontmatter.
Updates #2974
2017-02-20 22:20:02 +01:00
Ryan Watters
782004bafa
Update with aerobatic article on password protected sites
2017-02-20 03:19:58 -06:00
Ryan Watters
807b2a9cb9
Remove redundant press and articles page
2017-02-20 03:17:00 -06:00
Ryan Watters
f3e48405a4
Change all overviews back to section titles on section list pages
2017-02-20 03:07:18 -06:00
Ryan Watters
170e9616b2
Finish though in create-your-own-theme admonishment
2017-02-20 02:52:47 -06:00
Ryan Watters
49f468e6a9
Update more content management files
2017-02-20 02:47:49 -06:00
Ryan Watters
370d66869f
Add list-icon to overview/section list pages
2017-02-20 02:39:10 -06:00
Ryan Watters
5860bf1bcf
Revise order of variables pages in site navigation
2017-02-20 02:28:32 -06:00
Ryan Watters
c184c68540
Add more content to getting started pages
2017-02-20 02:13:48 -06:00
Bjørn Erik Pedersen
fe9fd0acf4
hugolib: Cache the value of Page's RelPermalink
2017-02-20 09:05:35 +01:00
Ryan Watters
840c71bec6
Add all variables and params pages
2017-02-20 02:00:16 -06:00
bogem
7e0fa13faa
Get rid of some viper.Get* calls
...
Enforce usage of PathSpec
Fixes #3060
Updates #2728
2017-02-20 08:10:13 +01:00
Ryan Watters
b4cd9e6338
Finish up last of hosting-and-deployment transfer from old site
2017-02-20 00:48:36 -06:00
Ryan Watters
0a76c785b6
Add finished Quick Start
2017-02-20 00:10:41 -06:00
Ryan Watters
9acdc1bb4a
Remove breaking relrefs in quickstart
2017-02-19 19:05:24 -06:00
Ryan Watters
fb1911e071
Consolidate all install pages into single page
2017-02-19 18:57:53 -06:00
Ryan Watters
d40ebc681f
Add mac install guide
2017-02-19 17:40:32 -06:00
Ryan Watters
3483642a9b
Remove wercker yml validation ref - 404
2017-02-19 16:54:03 -06:00
Ryan Watters
16513c9a62
Add wercker tutorial as example for reviewers
2017-02-19 16:45:08 -06:00
Bjørn Erik Pedersen
3d4e99ed50
config: Remove unused var
2017-02-19 20:08:36 +01:00
Abdó Roig-Maranges
02b120d1bd
hugolib: Discard current language based on .Lang()
...
Otherwise we fail to skip the current language in translations
for paginated pages.
Fixes #2972
2017-02-19 15:00:18 +01:00
Bjørn Erik Pedersen
6809ea1e7c
hugolib: Fix .Site.LastChange
...
This commit makes sure that the `.Site.LastChange` is fetched from the latest page modification date.
Previously, this value was fetched from the last page in the default page sort, which may not be the last by date
if weight is set.
Fixes #2909
Closes #2910
2017-02-19 13:48:21 +01:00
Bjørn Erik Pedersen
a0b3d9db16
hugolib: Add temporary date parse test
...
To debug the irregular Windows test failure.
See #3059
2017-02-19 13:19:15 +01:00
Bjørn Erik Pedersen
2ea242d5fe
hugolib: Minor Go vet fix
2017-02-19 10:33:28 +01:00
Anton Staaf
07e8588b0d
hugolib: Fix regression of .Truncated evaluation in manual summaries
...
This fixes the behavior of .Truncated that was introduced with commit
bef496b97e which was later broken. The
desired behavior is that .Truncated would evaluate to false when there
was nothing after the user defined summary marker.
This also adds a simple unit test to ensure that this feature isn't
broken again. The check for content after the user defined summary
marker is done on the raw content instead of the working copy because
some of the markup renderers add elements after the marker, making it
difficult to determine if there is actually any content.
The behavior (evaluating to false when there is no content, just
summary) is also now documented.
2017-02-19 10:11:49 +01:00
Anton Staaf
99fbc75e7a
hugolib: Fix regression of .Truncated evaluation in manual summaries
...
This fixes the behavior of .Truncated that was introduced with commit
bef496b97e which was later broken. The
desired behavior is that .Truncated would evaluate to false when there
was nothing after the user defined summary marker.
This also adds a simple unit test to ensure that this feature isn't
broken again. The check for content after the user defined summary
marker is done on the raw content instead of the working copy because
some of the markup renderers add elements after the marker, making it
difficult to determine if there is actually any content.
The behavior (evaluating to false when there is no content, just
summary) is also now documented.
2017-02-19 10:11:49 +01:00
Ryan Watters
ec3c19975d
Fix broken links in features page
2017-02-19 02:38:25 -06:00