Commit graph

27 commits

Author SHA1 Message Date
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
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
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
Li-Wen Yip
2223163a4f Add empty partials for custom html in head and footer
As per https://gohugo.io/templates/partials/ "Theme developers may want
to include a few partials with empty HTML files in the theme just so end
users have an easy place to inject their customized content."

Resolves #42
2017-04-02 23:50:42 +01:00
Li-Wen Yip
4f32165e3c Clean up head.html
Create meta tags using `with` and `default` functions to eliminate
redundant code
2017-04-01 00:04:30 +01:00
Michael Romero
19b620f632 Update photoswipe gallery to hugo-easy-gallery
Using https://github.com/liwenyip/hugo-easy-gallery/ from @liwenyip
2017-03-27 21:00:24 -07:00
Michael Romero
018a170672 Merge pull request #38 from liwenyip/fix-og-description
Use .Summary instead of .Content for og:description and twitter:description
2017-03-25 15:00:43 -07:00
Li-Wen Yip
b7864a3f48 Use .Summary instead of .Content for og:description and twitter:description 2017-03-25 13:09:09 +00:00
Michael Romero
aae34f128c PhotoSwipe support 2017-03-20 21:45:55 -07:00
Li-Wen Yip
c5736a53c2 Update Opengraph/Twitter tags to work with halogenica's implementation of bigimg 2017-03-10 20:22:24 +00:00
Michael Romero
d3ebf37be4 Use absolute URL for share_img 2017-03-06 15:42:02 -08:00
Michael Romero
867ae67b52 Facebook OpenGraph tags and Twitter summary cards
ported from beautiful-jekyll
2017-03-06 15:39:20 -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
Michael Romero
04617ddabb Add KaTeX support
Added KaTeX support with accompanying samples
2017-03-05 14:44:28 -08:00
halogenica
77a8fc4a30 Add google+, reddit, snapchat, and band camp links
Add google+, reddit, snapchat, and band camp links. Also updated font
awesome for band camp logo.
2017-02-25 22:03:51 -08:00
Stefan Haider
8234e24071 Use CDN for bootstrap and jQuery + version upgrade 2017-02-25 15:53:32 +01:00
Michael Romero
b418d4c303 Selected updates from latest beautiful-jekyll changes
Update main.css, nexted menus: ensure title width is wide enough to
accommodate children, Integrating public custom linkedin URL, add
instagram, snapchat, youtube, and spotify links, updated awesome-font to
v4.6, and updated CSS
2017-02-20 00:10:26 -08:00
Michael Romero
938766f54f Add client side syntax highlighting support
Added client side syntax highlighting support in addition to existing
server side syntax highlighting support. Updated readme and sample to
reflect both types of highlighting.
2017-02-12 04:26:35 -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
aston
f574b51db4 Added ability to configure a favicon 2016-09-23 11:43:14 +03:00
Michael Romero
ecb7e949e7 Add icons for soundcloud and wikipedia
Add icons for soundcloud and wikipedia user links
2016-04-13 00:22:23 -07:00
Michael Romero
87adc9d691 Support for big title images and bugfixes
Add support for big title images
(e6cb0a4f54).
Several bugfixes including pygment_highlights.css dependency, Index page
alignment/containers, and Index page site title. Also renamed
description to subtitle, in line with the original theme.
2016-04-02 03:55:38 -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