Michael Romero
686478883f
Handle list header in the header partial
2018-09-15 21:10:48 -07:00
Michael Romero
475004ea5d
Remove avatar-container if no logo set in site.params
2018-09-15 21:10:02 -07:00
Michael Romero
489b868ca0
Allow defining a custom header text for the home page
...
Allow defining a custom header text for the home page
2018-04-12 22:05:45 -07:00
Michael Romero
0433b4b21c
Merge pull request #138 from miketweaver/master
...
Allow title in _index.md
2018-04-04 21:21:10 -07:00
Michael Romero
cdf543f726
Merge pull request #133 from jms/master
...
add social network share links
2018-04-04 21:19:08 -07:00
Jeronimo F. Martinez Sanchez
c8681c44e9
correct typo and extra quotes
2018-02-25 20:54:13 -06:00
Mike Weaver
a52cd26f4c
Allow title in _index.md
2018-02-18 13:06:19 -07:00
tutysara
05cf2daa26
Fix error when there is no comment in staticman
...
Fixes #134
2018-02-13 00:47:46 +05:30
Jeronimo F. Martinez Sanchez
7276c7c876
update partial share-links
2018-02-11 23:55:02 -06:00
Jeronimo F. Martinez Sanchez
9fc9b05c68
added social share links
2018-02-11 23:44:52 -06:00
Michael Romero
987a01e004
Merge pull request #124 from tmo-github/master
...
update PhotoSwipe to v4.1.2
2018-02-08 23:47:15 -05:00
Michael Romero
7cb1aa8aea
Merge pull request #128 from yogster/master
...
Fixes https://github.com/halogenica/beautifulhugo/issues/111
2018-02-08 23:25:22 -05:00
Michael Romero
5ab83c3282
Update syntax highlighting
...
Update the syntax highlighting documentation, config file, and HLJS
theme.
2018-02-08 20:16:23 -08:00
Jorge
bae1ad5c41
Fixes https://github.com/halogenica/beautifulhugo/issues/111
2018-01-28 14:19:44 +00:00
T
11a9e2be07
update 2 more PhotoSwipe links to point at v4.1.2
2018-01-11 15:52:55 +01:00
T
e298f36bed
update PhotoSwipe link to point at v4.1.2
2018-01-11 15:49:05 +01:00
T
7c631a8264
update PhotoSwipe link to point at v4.1.2
2018-01-11 15:00:07 +01:00
James Wu
d67f51a811
add sri sha384 to cdn font-awesome
2017-12-29 00:00:45 -08:00
James Wu
bcd9c09cd5
add .Site to readingTime
2017-12-29 00:00:11 -08:00
halogenica
e0a5a06ce1
Add modified time, fix translations, make reading time optional
2017-12-28 00:11:07 -08:00
Michael Romero
9d53238842
Merge pull request #110 from badele/fix-rss
...
Fix empty RSSLink issue #101
2017-12-27 23:50:59 -08:00
Michael Romero
aa21f82dff
Merge pull request #109 from jkinred/master
...
Update doco in head_custom.html and footer_custom.html to correct path
2017-12-27 23:47:56 -08:00
Michael Romero
2dfcafb7bd
Merge pull request #102 from badele/piwik
...
Add piwik analytics tool
2017-12-27 23:12:16 -08:00
halogenica
e5d4e621cc
Clean up syntax highlighting CSS
2017-12-27 23:06:11 -08:00
badele
2d5a6fb059
Fix empty RSSLink
2017-11-26 21:45:12 +01:00
Jonathan Kinred
400074cc23
#81 - Update doco in head_custom.html and footer_custom.html to refer to correct path
2017-11-26 15:14:26 +11:00
badele
20d20a0178
Add piwik analytics tool
2017-11-21 19:50:06 +01:00
badele
41667d46c3
Add more post information, if staticman used, it can show number comments
2017-11-18 09:05:36 +01:00
badele
d68cf2e04d
Simplify staticman posts and add staticman translations
2017-11-18 07:59:53 +01:00
badele
8a0d06525d
Add staticman support (static comments coupled with Github pull request)
2017-11-17 22:57:41 +01:00
Michael Romero
7cdd0e0b3d
Merge pull request #95 from badele/rssfeed
...
Add customized RSS URL
2017-11-11 20:38:32 -08:00
badele
c09200eacd
Add customized RSS URL
2017-11-10 22:06:14 +01:00
Henry Fredrick Schreiner
b5136ec772
Adding documentation, rename style file to Hugo standard name
2017-11-10 13:29:44 -05:00
Henry Fredrick Schreiner
b2a458ddc2
Drop hljs if chroma is present
2017-11-10 13:13:22 -05:00
badele
f183da2f87
Add highlighting feature
2017-11-08 21:41:38 +01:00
Alexander Becker
d5692a3f8d
corrected variable name for authors website
2017-08-09 08:30:21 +00:00
Michael Romero
c968ae7d9c
Merge pull request #85 from cite/taglinkslash
...
some URL related fixes, mainly tags
2017-08-06 01:45:47 -07:00
Michael Romero
b281d11140
Check if author name exists before using it
2017-08-06 01:42:32 -07:00
Stefan Foerster
82e3c691f3
footer: load-photoswipe.js: use absURL
2017-08-03 15:31:24 +02:00
Alexander Becker
fa50dd6d0f
added authors website to site parameters. link to authors website can be included in the footer now.
2017-07-19 19:56:00 +02:00
Michael Romero
bbeb127b30
Load photoswipe by default and fix double-load bug
...
Photoswipe is now loaded by default for all pages in this theme. No need
to call load-photoswipe shortcode anymore. Fixes bug where
load-photoswipe.js was invoked multiple times, which caused the
photoswipe to prevent viewing the lightbox more than once.
2017-06-06 22:51:02 -07:00
Michael Romero
f86398e399
Fix incorrect use of isset
2017-06-04 23:14:38 -07:00
Kedy Liu
598100e4e8
Moved Google Analytics snippet to head and changed it to use async snippet.
2017-05-05 03:13:34 -04:00
Jack Taylor
54959770bf
Fix URLs for sites where baseURL is not the domain root
...
It turns out that the fix for static links in 6528985ed breaks
sites where baseURL is not at the domain root, (i.e. the Hugo site
is at http://www.example.com/foo/ , not http://www.example.com/ ).
This is because the link strings passed to absURL and absLangURL
have a leading slash, which Hugo resolves to the domain root. This
commit fixes the problem by removing removing the leading slash
from these strings.
Fixes #57
2017-05-04 20:21:14 +09:00
Michael Romero
978060b661
Merge pull request #55 from rayjolt/og-url
...
Fix og:url meta tag for multilingual sites
2017-04-29 09:16:19 -07:00
Jack Taylor
49cb655cd6
Fix og:url meta tag for multilingual sites
...
We need to use absLangURL instead of absURL, otherwise we
generate URLs that are wrong or don't exist for pages which aren't
in the default language.
2017-04-29 13:23:45 +09:00
Jack Taylor
efe742f442
Fix links to static content
...
Use absURL to find the URL for static content such as images,
CSS and JavaScript. The previous approach sometimes led to an
extra slash between the domain name and the path, breaking the
links. (In particular, it works when tested with hugo server, but
breaks in production.)
2017-04-29 13:15:46 +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
Michael Romero
07a5bc3953
Merge branch 'master' into duplicatedmaindiv
2017-04-09 22:36:48 -07:00
1138-4EB
c39138e3c9
Removed duplicated main div, because it is included in single, which imports page and post.
2017-04-09 01:23:47 +02:00