Commit Graph

89 Commits

Author SHA1 Message Date
panr
a6f223f522 Webpack is back! 2020-09-06 00:31:23 +02:00
panr
e6be81c664 Show a twitter card without any condition. 2020-08-10 00:13:56 +02:00
Radek Kozieł
80fa802fa6
Merge pull request #177 from arminfriedl/master
Only add twitter card if twitter defined
2020-08-10 00:10:59 +02:00
panr
0759309c59 Webpack -> Hugo Pipes 2020-08-09 23:49:38 +02:00
Armin Friedl
55b6d6bf28 Only add twitter card if twitter defined
Removes warning
`WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.`
in newer hugo versions.
2020-08-09 08:17:04 +02:00
panr
5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
panr
04d9175af8 Update styling 2020-06-18 00:21:19 +02:00
panr
0925abe5d8 Add terms.html template.
Add index.html template.
Fix list.html template.
2020-06-17 16:52:06 +02:00
Radek Kozieł
b19e56a9d8
Merge pull request #150 from FizzyGalacticus/color-per-page
Add color-per-page support
2020-06-17 16:20:06 +02:00
panr
9cbc71f5c3 Update collapsable code shortcode with isCollapsed prop 2020-06-13 09:51:22 +02:00
panr
cf59a36030 Add a collapsable code shortcode 2020-06-10 00:16:28 +02:00
Dustin L. Dodson
e7fd995590
Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07:00
panr
0a9b08f405 Fix styling for the index content 2020-05-29 00:50:00 +02:00
Radek Kozieł
3ade628cfc
Merge pull request #104 from nuno-silva/index
[WIP] Feature request: display index page content
2020-05-29 00:36:43 +02:00
panr
7c77a416df Update 404 page 2020-05-29 00:22:42 +02:00
Scott Anderson
72bdbc99ce remove pagnitaiton form sigle pages 2020-05-29 00:21:45 +02:00
Harsh Pandey
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
willstocks
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
Ben Coleman
0570ab80bb Use description for og:description 2020-05-29 00:21:16 +02:00
willstocks
a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
willstocks
76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
willstocks
87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
willstocks
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
willstocks
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
willstocks
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
willstocks
d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00
Zhai2333
11074eeb07 [^] upd: Update 404 2020-05-29 00:21:16 +02:00
Zhai2333
1a47dec920 [+] add: 404 Page 2020-05-29 00:21:16 +02:00
Dave Derderian
bb19133255 remove site.params.toctile from if condition 2020-05-29 00:18:15 +02:00
Dave Derderian
460409971b add conditional table of contents 2020-05-29 00:16:13 +02:00
horochx
0b0c32c626 Change the style of the last update time 2020-03-11 23:05:58 +08:00
horochx
145a758159 Merge remote-tracking branch 'upstream/master' 2020-03-10 22:26:40 +08:00
Radek Kozieł
0dc364f3e2
Merge pull request #113 from knightjoel/issue/26
Import shortcode to activate PrismJS plugins
2020-02-01 13:23:16 +01:00
Joel Knight
a1c203cb17 Apply suggestions from code review
Co-Authored-By: Radek Kozie. <radoslaw.koziel@gmail.com>
2020-01-26 14:53:18 -07:00
Joel Knight
92cc5bcd23
Apply suggestions from code review
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-25 21:18:08 -07:00
panr
7c5c62e630 A little fix for anchor appearance 2020-01-24 08:21:30 +01:00
Sophia Brandt
ff3aa2316b improve: add fixes/suggestions from panr 2020-01-23 21:04:09 +01:00
Sophia Brandt
e8fdb4e084
Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-23 20:56:58 +01:00
Sophia Brandt
2ab90a708e merge latest upstream 2020-01-23 20:50:13 +01:00
Sophia Brandt
3aeb73a422 add anchor icon to heading anchors 2020-01-17 13:11:41 +01:00
Wooseop Kim
fa95894458 Add Google Analytics template 2020-01-15 22:41:43 +09:00
Joel Knight
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
panr
7ac0deff87 Add param to set default size for headings 2020-01-05 10:44:58 +01:00
Nuno Silva
10eae069d0 display index page content 2019-12-13 16:32:14 +00:00
horochx
213a39bcad Add last updated display, params.showLastUpdated and update README.md 2019-10-04 22:41:43 +08:00
panr
060587ba38 Fix list.html 2019-08-25 09:38:23 +02:00
Radek Kozieł
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
William Sandbrink
3d20322e3a fixes broken page list 2019-08-14 22:08:50 +02:00