Commit Graph

172 Commits

Author SHA1 Message Date
Dito
f2e49b7f29 Add itch.io support and icon 2018-08-26 15:18:31 -07:00
Michael Noronha
a78ed1edcf Shrink enlarged font on small screens 2018-08-18 15:26:18 -07:00
Michael Noronha
bd0140e926 Add optional enlarged mode, make header and footer padding symmetric
Enlarged mode is basically like using the theme at ~110% zoom. It can be
enabled by setting `enlarged = true` as a config parameter. Other
changes are only minor fixes that shouldn't significantly impact
existing sites.
2018-08-18 15:18:26 -07:00
Michael Noronha
295f25a67d Add label for drafts in the UI
This makes it easier to see what a blog will look like when it's
published, and decreases the possibility of confusion when trying to
publish a post.
2018-08-18 13:46:27 -07:00
Michael Noronha
1fa9afaa77 Add option to exclude any headings from navbar
This implementation is somewhat messy, but I think the resulting default
is sane and it allows customizability. The motivation was it felt weird
to me to be linking to a blog, when the home link right above linked to
a slighly different version of the same page.
2018-08-14 23:15:09 -07:00
Michael Noronha
498265ba76 Add option to use large header everywhere
To use, set large_banner_logo = true in the config file
2018-08-14 22:38:32 -07:00
Michael Noronha
67c665bb78 /s/linkedin/instagram/ 2018-08-03 09:27:49 -07:00
Patrick de Ritter
a1ac436a3d add instagram support and icon 2018-08-03 09:27:49 -07:00
Michael Noronha
89ce6d60ba Add keybase support
Adressing #96
2018-07-30 22:35:44 -07:00
Eli Uriegas
c5608bd5eb Add fathom support
Add fathom support if you have a `fathomurl` specified in your config

Signed-off-by: Eli Uriegas <seemethere101@gmail.com>
2018-07-10 20:24:55 -07:00
Michael Noronha
62b802dc78 Add commento support
Addressing #34
2018-06-17 12:22:51 -05:00
Michael Noronha
ae37b77a67 Finalize any-page comment changes
- If `blogs` isn't set in the config file, `blog` is treated as a blog, to
avoid breaking existing sites
- If it is, only sections listed are treated as blogs, possibly
excluding `blog`
- Differences include comments, but also hn/lobsters links, time to
read, and tags (possibly non-exhaustive)
2018-06-16 23:51:32 -05:00
Michael Noronha
924efa0457 Revert template renaming
Didn't turn out to be needed, after rebasing onto master
2018-06-16 23:38:44 -05:00
Michael Noronha
daa4134e7a Allow comments on any page, and use index.html on all sections
Addressing #56
2018-06-16 23:34:12 -05:00
Michael Noronha
3f180fa7c4 Use default landing for blog section
Addresses #78. Now, posts are grouped and ordered the same way on all
pages.
Tested on my site and caspern's
2018-06-14 00:41:29 -05:00
Michael Noronha
30cb79cf45 Rename parameter to titlestyle 2018-04-07 12:35:32 -05:00
Jean-Philippe Evrard
c78c8e7393 Allow css transformations of title in config
By default the style uppercases the title, which forces a
style choice to the user.

We can add extra css but that might be overkill for just one
change: For example, not capitalizing the title default.

This allows the title to be fully lowercase, by simply overriding
the theme configuration.
2018-04-07 12:35:32 -05:00
Jean-Philippe Evrard
c74cf85db5 Enable partial sharing
It is currently not possible to disable the sharing on a specific
site, say google plus or facebook.

This allows a configuration item switch to tweak this behavior.
2018-04-06 16:02:31 -05:00
jinxiapu
017543b2f8 Only load isso script and css on pages that support comments 2018-03-27 11:32:22 -05:00
Frank Lam
4d4c5a691f Add 500px and GitLab 2018-03-25 21:52:31 -05:00
Tobias Raabe
508953fc7e View on Github handles Windows paths 2018-03-23 10:41:10 -04:00
Michael Noronha
587b2ac961 Amend handling of logofile not being set 2018-03-20 13:19:13 -04:00
Michael Noronha
c150a79386 Move copyright div out of conditional 2018-03-03 15:13:48 -06:00
tobiasraabe
d20c953181 Changed to use /tree/master by default. 2018-03-03 15:13:48 -06:00
tobiasraabe
b4cfd8b01e Allow githubRepo to point to custom branches. 2018-03-03 15:13:48 -06:00
Robin Wenzel
a36d787cf1 Make Logo Optional by providing an empty string
Since not every user has a nice logo at hand I find it useful to have the option to not include a logo. By default cocoa-eh would still show a 'logo' hyperlink. I would at least try to make this theme work without any basefiles given (even thoug the basic cocoa theme is available)
2018-03-02 08:00:50 -06:00
Michael Noronha
b03f2d71fe Recenter 404, addressing #57 2018-02-09 08:42:23 -06:00
Michael Noronha
ddd098a6a3 Add option to disable fancy fonts, addressing #57
Also, small README update
2017-12-25 19:25:27 -05:00
Jente Hidskes
a5ab088e48 css: add kbd styling (#74) 2017-12-25 19:25:27 -05:00
Jente Hidskes
11d7a0113e css: remove unused fonts from CSS (#73)
These make the text jump when initially loading a page.
2017-12-25 19:25:27 -05:00
Puneeth Chaganti
baf409daac Sort posts reverse chronologically (#67)
The months are displayed reverse chronologically, but the posts for that month
are displayed chronologically.  It seems more intuitive to have posts under each
month also to be sorted reverse chronologically.
2017-11-25 10:44:09 -06:00
Michael Noronha
4f12aa2ac2 Add latex support (#66) 2017-11-24 23:29:44 -06:00
Michael Noronha
399888ed7d Fix hacker news and lobsters link condition
Prevents a link from being generated when the parameters are set to the
empty string, addrssing #69
2017-11-24 20:18:21 -06:00
Michael Noronha
969bd5ca4e Fix validation HTML validation errors (#62)
* Make the theme compliant with W3C standards (#55)

* Dropped the line because chrome tab is deprecated.

* On header, "li" elements are meant to surround the "a" elements and not the other way around.

* Dropped all section tags I could find at first glance, as they had no semantic meaning and were firing warnings at the W3C validator.

* Change "middot" from a helper div to a helper class since putting div's inside ul's is not compliant

* Fixed a problem of the previous commit. A middot would not hide if on mobile.

* Fix archetypes bug with Go templates

* Fix additional validation error in 404
2017-11-09 16:22:28 -06:00
Shuichiro MAKIGAKI
0f221769f3 Add base URL to footer icon path (#61) 2017-10-31 09:09:01 -05:00
Alexis Tacnet
fd4a9767ae Add small_banner_logo parameter to disable big logo 2017-09-07 09:31:13 +02:00
Michael Noronha
9ea87416af Enable left alignment as an option (#51) 2017-08-24 21:06:43 +02:00
Alexis Tacnet
5aa0e994c5 Merge pull request #47 from mtn/404
404 redesign
2017-08-10 09:00:53 +02:00
Michael Noronha
2535da12d7 Moved 404 css to its own partial 2017-08-04 00:33:12 -04:00
Michael Noronha
a7cde56381 Update 404.html 2017-08-04 00:31:09 -04:00
Michael Noronha
7e0d03aed4 Replaced header with head_includes to compact partial 2017-08-03 23:24:52 -04:00
Michael Noronha
ed816e03ee An initial redesign 2017-08-01 00:57:59 -04:00
watschi
3ba64c3ea3 Enable switching to small summary cards for twitter (#46) 2017-07-29 11:40:38 +02:00
Alexis Tacnet
8ef779e0fa Hotfix: Hugo v0.22 and nested sections 2017-06-27 16:11:46 +02:00
Alexis Tacnet
fe73221f1a Merge pull request #41 from ntzwrk/feature/isso-comments
Add Isso support
2017-06-26 20:24:14 +02:00
Alexis Tacnet
2fa8d65897 Merge pull request #42 from bobsaintcool/feature/footer_social_fb
<footer/social: Add the possibility to link to facebook account>
2017-06-14 20:08:20 +02:00
Alexis Tacnet
71fa6ef577 Merge pull request #38 from mtn/social-links
A working implementation of social links
2017-06-14 20:03:09 +02:00
Quentin Bourgeois
bf8882faef <footer/social: Add the possibility to link to facebook account>
For some reason people may wants to have one facebook account directly
linked into the footer of the site generated using cocoa-eh. So do I,
maybe more people may use that too.
2017-06-14 02:00:52 +02:00
Valentin Sundermann
e544bbf863 Merge branch 'dev' into feature/isso-comments 2017-06-12 14:29:56 +02:00
Michael Noronha
ae44e7777e Add explicit support for hacker news and lobsters 2017-06-11 23:30:31 -06:00