Commit Graph

127 Commits

Author SHA1 Message Date
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
Radek Kozieł
2307f19909
Merge pull request #33 from Rinma/add-language-selector
Added option for language selector
2019-08-13 16:40:04 +02:00
Marvin Dalheimer
63b2c69f85
Remove unused css classes 2019-08-13 13:16:18 +02:00
Marvin Dalheimer
28dd0fadf9 Use ul instead of div and BEM naming 2019-08-13 08:44:40 +02:00
Moritz Fago
2bb48d5952 Fix attribution if copyright is set by user. 2019-08-09 01:44:24 +02:00
panr
24e901f460 Add keywords support to single page 2019-08-08 21:56:25 +02:00
Michael Serajnik
79b040a3ec
Only insert custom CSS link if the file exists 2019-06-15 15:55:40 +02:00
Zhai2333
786243dc1d
[*] fix: 0001-01-01 when doesn't provide a date 2019-06-09 17:59:20 +08:00
Radek Kozieł
5091a93ea2
Merge pull request #35 from Rinma/lang-sensitiv-tags
made tag link language-sensitiv
2019-05-24 09:51:47 +02:00
panr
64b59a4e59 Fix RSS links #41 2019-05-24 09:36:06 +02:00
Marvin Dalheimer
bc9b801e5f made tag link language-sensitiv 2019-04-05 08:18:21 +02:00
Marvin Dalheimer
10b545bb86 Added option for language selector
Implemented a language selector submenu that can be turned on or off by a config value.

Resolves: panr/hugo-theme-terminal#31
2019-04-01 21:44:39 +02:00
panr
bacfb1a95a Remove unnecessary code 2019-03-31 19:38:11 +02:00
panr
e938e972b6 Fix format 2019-03-31 19:28:38 +02:00
panr
50e36736c6 Allow to show full content on list 2019-03-31 19:18:43 +02:00
RPGillespie6
27462e1893 Make favicon configurable
Fix #18
2019-03-13 18:56:57 -04:00
Radek Kozieł
efad1bff26
Merge pull request #16 from kalbasit/hugo-theme-terminal_allow-custom-javascript
render an extended placeholder for head and footer
2019-03-06 00:49:59 +01:00
Wael M. Nasreddine
00296f07b4
rename the partials to extended_head and extended_footer 2019-03-04 14:20:48 -08:00
newhinton
8fe7d51b94
Merge branch 'master' into master 2019-02-28 14:57:20 +01:00
Wael M. Nasreddine
4b959d0aa6
partials/footer: render a placeholder custom_footer.html 2019-02-26 00:38:49 -08:00
Wael M. Nasreddine
1cf2b933a3
partials/head: render a placeholder custom_head.html 2019-02-26 00:35:27 -08:00
Felix Nüsse
88ed5a0bef
Updated CSS and refined width-logic 2019-02-26 09:30:10 +01:00
Andreas Hilboll
bb7ad5779f
Fix typo in comment 2019-02-24 13:53:19 +01:00
panr
d005155fa5 Add comment partial 2019-02-15 00:38:45 +01:00
Eelco Wesemann
d4f8fea87c Add a trailing slash to URLs generated for tags 2019-02-13 13:00:20 +01:00
Radek Kozieł
b746766d0e
Merge pull request #5 from ffluegel/patch-1
Removed inline style
2019-02-11 10:11:02 +01:00
panr
4e7ac981d2 Fixes 2019-02-09 09:11:56 +01:00
ffluegel
4f399128b2
Removed inline style 2019-02-09 01:07:00 +01:00
panr
8a8e73461e Change post cover path 2019-02-09 00:40:11 +01:00
Eelco Wesemann
90cd4fe1b6
Fix h1 close tag for post-title 2019-02-05 10:49:54 +01:00
Felix Nüsse
0d2a41242a
added parameter for centered view
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
2019-02-03 16:00:13 +01:00
panr
e6f8847460 Fix menu 2019-02-01 16:00:11 +01:00
panr
4a462a4a21 Update README 2019-02-01 10:15:28 +01:00
panr
88d7d5ddba Add menu trigger to desktop 2019-02-01 08:39:12 +01:00
panr
4254f4c314 Add menu item counter to config 2019-01-31 22:06:54 +01:00
panr
446691ba59 Fix layout and code highlighting 2019-01-29 18:59:59 +01:00
panr
802b2f1312 Fix typos 2019-01-29 11:18:14 +01:00
panr
e65d3fbbc8 Typo fixes 2019-01-29 11:07:58 +01:00
panr
6c68bd63ae Fix absURL paths and exampleSite 2019-01-29 10:48:49 +01:00
panr
86562b8241 Init 2019-01-28 01:11:02 +01:00