Commit graph

43 commits

Author SHA1 Message Date
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
5ab83c3282 Update syntax highlighting
Update the syntax highlighting documentation, config file, and HLJS
theme.
2018-02-08 20:16:23 -08:00
T
7c631a8264 update PhotoSwipe link to point at v4.1.2 2018-01-11 15:00:07 +01: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
badele
2d5a6fb059 Fix empty RSSLink 2017-11-26 21:45:12 +01:00
badele
20d20a0178 Add piwik analytics tool 2017-11-21 19:50:06 +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
b2a458ddc2 Drop hljs if chroma is present 2017-11-10 13:13:22 -05: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
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
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
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
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
bc06d8f202 Load photoswipe js in footer.html instead of load-photoswipe.html 2017-03-28 09:36:27 +01:00
Jack Taylor
2366c020e7 Update the footer template with the new data file location
The social icons data was moved in cfad05b, but we need to update
the footer template with the new location as well to be able to
access the data.
2017-03-28 15:55:57 +09:00
Michael Romero
fa359a6dd2 Merge pull request #43 from rayjolt/footer-icons
Split the social icon data out from the footer template
2017-03-27 23:25:23 -07: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
de52bb63ed Only load cse.js if google cse is configured
Previously if gcse wasn't configured, the footer would attempt and fail
to load cse.js with an invalid gcse ID
2017-03-27 20:27:18 -07:00
Jack Taylor
4379aa951f Split the social icon data out from the footer template
Add a "social.toml" data file to hold the data for all the social
icons in the footer template. This reduces repetition in the
template code and makes it easier to reuse the data in other
parts of the theme, should that be desired in the future.

It also makes it easier for end users to add new icons by just
overriding the data file, instead of having to override the whole
footer template.
2017-03-28 12:06:17 +09:00
Li-Wen Yip
0465584c2b Added support for Google Custom Search Engine 2017-03-25 16:17:01 +00:00
Michael Romero
aae34f128c PhotoSwipe support 2017-03-20 21:45:55 -07:00
Nguyễn Lê Khánh Hùng
00a9ed2c6f Update footer.html
Missing splash at RSS section
2017-03-07 16:18:12 +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
50fad43b1f Ability to toggle RSS
Ability to toggle RSS feed by setting .Site.Params.rss (defined in
config.toml in the [Params] section)
2017-03-06 10:59:07 -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
d82dfdb5f7 Add itch.io button 2017-02-20 00:39:59 -08: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
Jerry Jacobs
793341cfaa Update footer to have git shorthash 2016-07-17 22:55:22 +02: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
ff7cd6fd91 Initial Checkin of Beautiful Hugo Theme
Initial Checkin of Beautiful Hugo Theme
2016-03-08 02:43:08 -08:00