Commit graph

58 commits

Author SHA1 Message Date
Michael Romero
48387349e0 fix validator error: itemprop must belong to a type 2018-11-12 23:53:50 -08:00
Michael Romero
9f46adea96 fix validator error: ul inappropriate here, replaced with div 2018-11-12 23:52:37 -08:00
Michael Romero
4f9912ba16 Remove unintentional new layout for sections 2018-11-09 00:30:05 -08:00
Michael Romero
36d7231cad Updates to SEO 2018-11-01 01:38:13 -07:00
Michael Romero
2fe5c9b36b Add site schema for SEO 2018-10-30 00:40:50 -07: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
Michael Romero
c95cb46fb6 Collapsable tags no longer scroll to top
The href="#" causes the page to scroll back to top when expanding one of the collapsable tags.
2018-09-17 23:41:03 -07:00
Michael Romero
37825f541e
Merge pull request #180 from brainspark/social-share-override
Make sure one can override socialShare on a page by page basis
2018-09-15 22:04:03 -07:00
Michael Romero
b5368473b5
Merge pull request #174 from cite/master
fix missing slash for tags -> "view all"
2018-09-15 21:46:13 -07:00
Michael Romero
686478883f Handle list header in the header partial 2018-09-15 21:10:48 -07: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
Stefan Foerster
74d3d4934e fix missing slash for tags -> "view all" 2018-05-19 20:40:27 +02:00
Jorge
9e3bc16498 Added tag styling like beautifuljekyll 2018-04-13 14:35:05 +01:00
Michael Romero
d1fe069d6c
Merge pull request #130 from joshuasheppard/list-post-meta
Add `post_meta.html` reference to `_default/list.html`
2018-04-12 22:42:34 -07:00
Jeronimo F. Martinez Sanchez
9fc9b05c68 added social share links 2018-02-11 23:44:52 -06:00
Joshua Sheppard
7bee88c744 Add post_meta.html reference to _default/list.html 2018-02-09 02:46:06 -06:00
Michael Romero
5f274c82e4
Merge pull request #116 from henryiii/expanding
Expanding taxinomies
2018-02-09 00:05:49 -05:00
Henry Schreiner
b97775978e
Merge branch 'master' into expanding 2018-01-25 10:08:37 +01:00
Henry Fredrick Schreiner
4177be6038 Fix for CJK chars from @nogu-net 2018-01-25 10:07:10 +01:00
nogu-net
baa3de4a95
Update list.html
Fix missing slash in tags URL is also in layouts/_default/list.html.
2018-01-19 13:43:06 +09:00
Michael Romero
46ffcfbce1 Fix missing slash in tags URL 2018-01-08 20:24:00 -08:00
Henry Fredrick Schreiner
782cf29350 Expanding taxinomies 2017-12-08 20:06:50 -05: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
4d7446e101
Merge pull request #93 from badele/title-image
Add image title feature in homepage
2017-11-11 20:34:49 -08:00
badele
96bc55120b Add image title feature in homepage 2017-11-05 17:28:08 +01:00
Stefan Foerster
25d482d110 generate page links with trailing slashes 2017-09-04 11:54:55 +02:00
Stefan Foerster
2506a38947 include complete URL in tags
I want to resolve #71 with this - links to tags should now also
work when the site is not living in a domain's root.
2017-08-06 10:55:37 +02:00
Stefan Foerster
3d675e36c5 generate tag links with trailing slash
Since all post URIs are generated with a trailing slash, I thought
it would be a good idea to do the same for tag links. This can
save a few I/O operations here and there (or, depending on your
webhoster, even get rid of redirects).
2017-08-05 22:26:13 +02:00
Michael Romero
c6637b0a79 Add missing role="main" 2017-06-06 23:26:22 -07:00
rui.zheng
0d3d2e33f0 add i18n supported for paginator 2017-05-09 15:14:46 +08:00
Michael Romero
9c165c43d8 Header title for list and hashtags
Increase the title header for lists to match single pages. Add a hashtag
for taxonomies.
2017-04-24 23:43:55 -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
Jack Taylor
c4cfe47e01 Make links language-relative
This ensures that links work correctly in languages other than
English. For example, clicking on the navbar "brand" link used to
take you to the English home page even if you were browsing the
site in another language. Now it takes you to the home page for
that language.
2017-04-07 08:01:06 +09:00
Jack Taylor
0f74f45531 Move hard-coded strings to i18n files
Add translations in English and in Japanese
2017-04-06 18:39:11 +09:00
David McKay
152f673f13
Don't hardcode to a single taxonomy 2017-04-04 17:37:39 +01:00
Michael Romero
4d866ddfd7 Default date format if not defined in config.toml
Default date format if not defined in config.toml
2017-03-25 20:10:24 -07: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
bb64fb5b8e Correct layout on tags list view
Make the layout when listing posts by tags consistent with the layout
when listing posts (default blog view)
2017-03-16 21:09:28 -07:00
Michael Romero
0338abd814 Made date format configurable
Can be configured in config.toml Params.dateFormat
2017-03-06 14:36:35 -08: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
Stefan Haider
d23ca0a38a use Bootstrap ListGroup for terms page 2017-02-26 12:53:06 +01:00