Commit Graph

85 Commits

Author SHA1 Message Date
0759309c59 Webpack -> Hugo Pipes 2020-08-09 23:49:38 +02:00
5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
04d9175af8 Update styling 2020-06-18 00:21:19 +02:00
0925abe5d8 Add terms.html template.
Add index.html template.
Fix list.html template.
2020-06-17 16:52:06 +02:00
b19e56a9d8 Merge pull request #150 from FizzyGalacticus/color-per-page
Add color-per-page support
2020-06-17 16:20:06 +02:00
9cbc71f5c3 Update collapsable code shortcode with isCollapsed prop 2020-06-13 09:51:22 +02:00
cf59a36030 Add a collapsable code shortcode 2020-06-10 00:16:28 +02:00
e7fd995590 Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07:00
0a9b08f405 Fix styling for the index content 2020-05-29 00:50:00 +02:00
3ade628cfc Merge pull request #104 from nuno-silva/index
[WIP] Feature request: display index page content
2020-05-29 00:36:43 +02:00
7c77a416df Update 404 page 2020-05-29 00:22:42 +02:00
72bdbc99ce remove pagnitaiton form sigle pages 2020-05-29 00:21:45 +02:00
9271d6ebf9 Made changes which were causing builds to fail
I updated ne to not and now it builds perfectly on zeit and netlify
2020-05-29 00:21:45 +02:00
4ef42a15b2 Implement multi-layer fallback
Cover image for anything that's not home (with fallback to favicon where cover is not set), and for anything that is home we use the favicon with fallback to the default color block

Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:45 +02:00
0570ab80bb Use description for og:description 2020-05-29 00:21:16 +02:00
a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
3d067dea1b Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-05-29 00:21:16 +02:00
b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
1dcf383f7d Twitter card + OG markup fixes
Remove Twitter card title, description and image (twitter cards fall back to OG markup for these elements).
Fix og:image url for non-home content
Conditionally show twitter:site tag
2020-05-29 00:21:16 +02:00
f2fd8fbc63 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
6a6a3ae75c Fix OpenGraph and Twitter meta tags
Title tags could be a little bloated as the subtitle was being appended. This should fall in to the description instead.
Also, if not looking at an individual post, there was no author being defined or site image.
2020-05-29 00:21:16 +02:00
d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00
11074eeb07 [^] upd: Update 404 2020-05-29 00:21:16 +02:00
1a47dec920 [+] add: 404 Page 2020-05-29 00:21:16 +02:00
bb19133255 remove site.params.toctile from if condition 2020-05-29 00:18:15 +02:00
460409971b add conditional table of contents 2020-05-29 00:16:13 +02:00
0b0c32c626 Change the style of the last update time 2020-03-11 23:05:58 +08:00
145a758159 Merge remote-tracking branch 'upstream/master' 2020-03-10 22:26:40 +08:00
0dc364f3e2 Merge pull request #113 from knightjoel/issue/26
Import shortcode to activate PrismJS plugins
2020-02-01 13:23:16 +01:00
a1c203cb17 Apply suggestions from code review
Co-Authored-By: Radek Kozie. <radoslaw.koziel@gmail.com>
2020-01-26 14:53:18 -07:00
92cc5bcd23 Apply suggestions from code review
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-25 21:18:08 -07:00
7c5c62e630 A little fix for anchor appearance 2020-01-24 08:21:30 +01:00
ff3aa2316b improve: add fixes/suggestions from panr 2020-01-23 21:04:09 +01:00
e8fdb4e084 Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-23 20:56:58 +01:00
2ab90a708e merge latest upstream 2020-01-23 20:50:13 +01:00
3aeb73a422 add anchor icon to heading anchors 2020-01-17 13:11:41 +01:00
fa95894458 Add Google Analytics template 2020-01-15 22:41:43 +09:00
ce97879d6c Import shortcode to activate PrismJS plugins
The shortcode takes named parameters that are relevant to the PrismJS
plugins that Terminal bundles.

- lang: the language contained in the code block
- line: the line number(s) to highlight
- line-numbers: displays line numbers in the margin
- command-line: activates the command-line plugin which modifies the
output to show a command line
- user: the username to display in the prompt (used with the command-line
parameter)
- host: the hostname to display in the prompt (used with the
command-line parameter)
- prompt: override the default prompt (used with the command-line
parameter)
- output: specifies which line(s) contain CLI output (used with the
command-line parameter)

Example:

{{< prismjs lang="bash" line="1,10-13" line-numbers="true"
command-line="true" host="jump1" user="joel" output="2-9" >}}
2020-01-08 21:43:39 -07:00
7ac0deff87 Add param to set default size for headings 2020-01-05 10:44:58 +01:00
10eae069d0 display index page content 2019-12-13 16:32:14 +00:00
213a39bcad Add last updated display, params.showLastUpdated and update README.md 2019-10-04 22:41:43 +08:00
060587ba38 Fix list.html 2019-08-25 09:38:23 +02:00
8d8e93fa8d Merge pull request #72 from MoritzFago/fix-atribution
Fix attribution if copyright is set by user.
2019-08-24 08:06:18 +02:00
3d20322e3a fixes broken page list 2019-08-14 22:08:50 +02:00
2307f19909 Merge pull request #33 from Rinma/add-language-selector
Added option for language selector
2019-08-13 16:40:04 +02:00
63b2c69f85 Remove unused css classes 2019-08-13 13:16:18 +02:00
28dd0fadf9 Use ul instead of div and BEM naming 2019-08-13 08:44:40 +02:00
2bb48d5952 Fix attribution if copyright is set by user. 2019-08-09 01:44:24 +02:00