Commit Graph

323 Commits

Author SHA1 Message Date
willstocks 5ede34df2c Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-03-18 11:24:24 +00:00
willstocks 6f5e42002e Separate twitter card params 2020-03-18 11:20:39 +00:00
willstocks b39a2e93b7 Tweak twitter card tags to cater for new params 2020-03-18 11:20:14 +00:00
willstocks 22098b16d9 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-18 11:12:36 +00:00
willstocks a89e972309 Amend twitter params 2020-03-16 11:07:04 +00:00
willstocks a6ae1efab1 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-03-16 11:05:35 +00:00
willstocks 1b00e7e317 Include Twitter Card parameters 2020-03-16 11:01:48 +00:00
willstocks 7f0bda3358 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-16 10:52:14 +00: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
willstocks a3f51f61c7 Update USERS.md 2020-03-10 13:57:17 +00:00
willstocks 6ed6715b5b Add owner as a param for Twitter Card (creator) 2020-03-10 12:28:08 +00:00
willstocks b226e1dc8c 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-03-10 12:08:33 +00:00
willstocks 6ef1bb1686 Update head.html 2020-03-10 12:03:11 +00: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
Radek Kozieł 0b541b6f54 Merge pull request #124 from superusercode/patch-1
fix spelling error in example site
2020-02-01 13:07:07 +01:00
Code 6c186bd043 fix spelling error in example 2020-01-29 00:33:04 -05:00
Radek Kozieł 8ac2551ee2 Merge pull request #123 from oberbaum/patch-1
Update USERS.md
2020-01-28 08:53:21 +01:00
oberbaum 172708334f Update USERS.md 2020-01-27 23:27:42 +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
Radek Kozieł 49c8679b6c Merge pull request #120 from sophiabrandt/add-anchor-links
[feature] add anchor icon to heading anchors
2020-01-24 08:18:40 +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
panr 0ff712efdb Update yarn.lock 2020-01-23 19:59:56 +01:00
Radek Kozieł 98ab575126 Merge pull request #116 from wooseopkim/feature/google-analytics
Add Google Analytics template
2020-01-23 19:37:43 +01:00
Radek Kozieł e61ad0ef07 Merge pull request #114 from dseverboven/patch-1
Update USERS.md
2020-01-23 19:36:25 +01:00
Radek Kozieł 4d7a3c2db3 Merge branch 'master' into patch-1 2020-01-23 19:36:10 +01:00
Radek Kozieł b6a5436f40 Merge pull request #119 from sophiabrandt/patch-1
add new user
2020-01-23 19:33:30 +01:00
Radek Kozieł 4f23e52472 Merge branch 'master' into patch-1 2020-01-23 19:33:00 +01:00
Radek Kozieł d30e8a50b0 Merge pull request #122 from qbunt/master
Added qbunt.com to USERS.md
2020-01-23 18:56:08 +01:00
Jeremy Bunting 62531797e7 Added qbunt.com to USERS.md
Thanks for the theme, it's been amazing!
2020-01-22 08:58:55 -05:00
panr 20ce063397 Upload compiled style.css after line-numbers changes 2020-01-22 08:46:35 +01:00
panr 2fcbefa09f Fix line numbers alignment 2020-01-21 08:35:11 +01:00
panr 2bb3d3d49b Fix line-numbers and highlight styling 2020-01-20 00:02:26 +01:00
Radek Kozieł 3f6db97f02 Update README.md 2020-01-18 20:13:29 +01:00
Radek Kozieł c567dd61f9 Fix buymeacoffee buttton in README 2020-01-18 20:13:03 +01:00
Radek Kozieł c6c3eb8d54 Update README.md 2020-01-18 19:41:49 +01:00
Radek Kozieł 6c467105a2 Add sponsoring option and fix typo 2020-01-18 19:38:49 +01:00
Sophia Brandt 3aeb73a422 add anchor icon to heading anchors 2020-01-17 13:11:41 +01:00
Sophia Brandt 4b05a64b5a add new user
add www.rockyourcode.com
2020-01-17 07:55:23 +01:00
Wooseop Kim fa95894458 Add Google Analytics template 2020-01-15 22:41:43 +09:00
Dawson Verboven 9e38f9ec99 Update USERS.md
added https://dawsonverboven.com/
2020-01-08 21:39:06 -08: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
Radek Kozieł 48233660d8 Merge pull request #111 from turbo/patch-1
Add highlighting to README/config
2020-01-06 16:21:42 +01:00
turbo d2dc6b7bb9 Add highlighting to README/config 2020-01-06 13:34:17 +01:00
panr ec262730ac Fix/Change code block styling 2020-01-06 09:31:18 +01:00
panr 7ac0deff87 Add param to set default size for headings 2020-01-05 10:44:58 +01:00