Commit Graph

25 Commits

Author SHA1 Message Date
Pascal
0c9be3282c
fix for #242
change for issue #242
2019-01-16 11:31:32 +01:00
Michael Romero
9f46adea96 fix validator error: ul inappropriate here, replaced with div 2018-11-12 23:52:37 -08:00
Michael Romero
934131263b
Merge branch 'master' into delayed-disqus 2018-10-26 00:53:23 -07:00
Igor Kulman
6e54af2e5c
Showing related posts 2018-09-30 12:53:16 +02:00
Igor Kulman
9cad5e961f
Ability to use delayed Disqus comments 2018-09-30 12:39:25 +02:00
Paul Bakker
2df348c563 Make sure one can override socialShare on a page by page basis
By using $.Param instead of .Site.Params, the socialShare icon settings
can be overridden on a page by page basis in the Front Matter
2018-06-28 14:51:03 +02:00
Jorge
9e3bc16498 Added tag styling like beautifuljekyll 2018-04-13 14:35:05 +01:00
Jeronimo F. Martinez Sanchez
9fc9b05c68 added social share links 2018-02-11 23:44:52 -06:00
Henry Fredrick Schreiner
053715e436 Fix error in autodiscovery 2017-12-07 14:34:23 -05:00
Henry Fredrick Schreiner
2d2756aa1f Use auto type discovery (can be overridden) 2017-12-07 14:30:54 -05:00
Henry Fredrick Schreiner
3e553102fc Using type=page for comments too 2017-12-07 14:24:28 -05:00
Henry Fredrick Schreiner
350f4a8e02 Remove next/previous for pages 2017-12-07 13:55:54 -05:00
badele
8a0d06525d Add staticman support (static comments coupled with Github pull request) 2017-11-17 22:57:41 +01:00
Michael Romero
c6637b0a79 Add missing role="main" 2017-06-06 23:26:22 -07:00
Michael Romero
0d2ddebdd9 Single and List views not apply to all page types
Single and List views not apply to all page types. Previously list view
would only apply to posts. With this change, a new content folder named
"foo" will now list all content within the "foo" folder. In addition,
the Single layout is now generalized and applies to all types of
content.
2017-04-24 21:17:24 -07:00
Jack Taylor
0df40cf71e Fix template indentation
Fix indentation for templates changed in 3cec621. This is a
separate commit as it makes for diffs that are easier to read.
2017-04-17 12:44:50 +09:00
Jack Taylor
a5113e5008 Make all full-page templates inherit from a block template
Use block templates [1] for all of the full-page templates such as
index.html, _default/list.html, etc. This reduces code duplicated
between them.

Also, move the code in partials/page.html and partials/post.html
to page/single.html and post/single.html respectively. With block
templates the contents of the partials is almost exactly the same
as the contents of the single page templates, and having dedicated
single-page templates for the content types means that we can get
rid of the if/then/else logic in _default/single.html.

This also gets rid of an excess container div; the duplication of
the divs was being obscured by the way _default/single.html was
interacting with the partials. (This is the same duplicated div
as in pull request #51 found by @1138-4EB.)

[1] https://gohugo.io/templates/blocks/
2017-04-17 12:44:44 +09:00
Jack Taylor
9c467304ec Use the correct language in lang attributes
Set the lang attribute in the html element to be the right
language, and also add lang attributes to text in a language that
is different to the page language, such as the language switcher
links.
2017-04-07 13:08:44 +09:00
halogenica
ee6246379b Consolidate header_wp.html and header.html
Consolidate header_wp.html and header.html to a single header.html
file.
2017-03-19 16:50:32 -07:00
Michael Romero
40b3eb3691 Correct spacing and remove extraneous </div>
Removed extraneous </div> in layouts\_default\list.html
2017-03-06 13:36:42 -08:00
Michael Romero
dd08915adf Fix improper container
Fix an improper container. Now content correctly appears higher on the
page, and big images span the full page width.
2017-02-21 00:09:36 -08:00
1138-4EB
6f520773f5 Add slashes to links in <head.html>, <nav.html>, <footer.html> and
<404.html>.

Add favicon example.

Modify footer vars to allow links not pointing to user profiles.

<header.html> renamed to <header_wp.html> and part of it moved to <header.html> since the same block was repeated two times.

Add Hugo version to footer
2017-02-06 19:38:32 +01:00
1138-4EB
da29c99fdc 'NO MATCHING PARTIAL' is hidden under the navbar, unless <header.html> is printed before. It seems to be no problem moving its insertion frome <post.html> and <page.html> to <single.html>, so that it is always shown. 2017-02-06 11:25:40 +01:00
Michael Romero
991e2aeaf7 Remove unnecessary Disqus partial template
Disqus partial template was accidentally included in both single.html
and the posts/pages that were included by single.html. Only need to
include it once!
2016-04-13 00:06:02 -07:00
Michael Romero
ff7cd6fd91 Initial Checkin of Beautiful Hugo Theme
Initial Checkin of Beautiful Hugo Theme
2016-03-08 02:43:08 -08:00