Anthony Fok
89c26174a4
Fix asset paths when baseURL has sub-folder (#103)
See #97
6 vuotta sitten
CCS
10b6b6be0f
Add inheritance for social links. (#107)
6 vuotta sitten
shawn
41727a62e2
Issue 98 (#101)
* Add custom_css parameter.
* Copy documentation from hugo-octopress.
6 vuotta sitten
budparr
6e5e6df161
Make asset paths absolute
Fixes #97
6 vuotta sitten
Bud Parr
8b43f4662e
Replace Asset References with a data file instead of paths (#96)
* Add assets-webpack-plugin
Signed-off-by: budparr <budparr@gmail.com>
* Add generated Webpack Assets file
This file is generated by Webpack and writes the names of our hashed assets
Signed-off-by: budparr <budparr@gmail.com>
* Update stylesheet
Note sure why this was updated
Signed-off-by: budparr <budparr@gmail.com>
* Add CSS file from generated file
Replaces hardcoded path
Signed-off-by: budparr <budparr@gmail.com>
6 vuotta sitten
Bud Parr
1f3b6f5598
Pre-2.0 Enhancements (#94)
2.0 Enhancements
- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature
- Add asset hashing to Webpack for performance
6 vuotta sitten
Den McHenry
d5b87cb15e
Don't duplicate site title in home page TITLE tag (#78)
Let's say your `.Site.Title` is "My Website". The code grabs `.Site.Title`, and then then checks to see if there's a `.Title`. When you're on the homepage, `.Title` is equivalent to `.Site.Title`, so that the browser bar will read:
> My Website | My Website
If we qualify `.Title` by confining to the `.Params` namespace, then the site title isn't duplicated:
```<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>```
> My Website
But it still picks up `.Title` from posts and pages, where a content title exists in front matter:
> My Website | About Me
7 vuotta sitten
Russell Cohen
8b59adb79b
Fix pagination (#76)
7 vuotta sitten
budparr
ff25b71173
Fix linkedin icon to match the other social icons
Fixes #70
7 vuotta sitten
Developer Davo
f9b62a2645
#68|Parmeterize number of recent posts in index.html (#69)
* Parmeterize number of recent posts in index.html
* Replace .Site.Params.recent_posts_number with $.Param "recent_posts_number" in index.html
7 vuotta sitten
Developer Davo
2a1495aaa5
Fix typo in single.html (#67)
7 vuotta sitten
budparr
afd2735066
Be smarter about linking to posts on home page.
Fixes #50
Hugo's `.Summary` did not behave as I expected it to, not stripping out
HTML, so I removed the anchor block from around the posts and moved the
links to the image, title and a read more button.
7 vuotta sitten
Adam Kaplan
1e37db6cef
Favicons (#54)
* Adding support for favicon
* Fixing html tag
7 vuotta sitten
budparr
4d9dc08ee0
Fix spacing
7 vuotta sitten
budparr
1dd38282ab
Remove margin
7 vuotta sitten
alea12
c850d4f9f8
indent fix (#45)
7 vuotta sitten
Brad Clark
eb765fdbc8
Social icon updates (#51)
* add linkedin
* update github svg to fix spacing
* add colors from brandcolors.net
7 vuotta sitten
Brad Clark
293cedefc1
Add GitHub social icon (#48)
* add github social link
* add github css
* fix css error breaking rollover
7 vuotta sitten
Bud Parr
a3dc1ac327
Add body_classes parameter to body
Fixes #43
7 vuotta sitten
Bjørn Erik Pedersen
7b5196ad18
Make Hero image work out-of-the box (#40)
* using Hero sample image in the theme's /static folder
* fall back to site config
* fall back to hard coded default if none set in page or site params
7 vuotta sitten
Bud Parr
6350c2fee6
Fixes #31 (#32)
7 vuotta sitten
Bud Parr
ec0d6b4700
Bp/fix now function Fixes #29 (#30)
7 vuotta sitten
Bud Parr
8f4c3b571d
use better class names
7 vuotta sitten
Bud Parr
00a797e9bd
fix clunky construction on home page to get section name (#17)
7 vuotta sitten
Bud Parr
9543d90786
tweak hero default behavior
7 vuotta sitten
Bud Parr
b0c7d8bd88
improve terms template
7 vuotta sitten
Bud Parr
ee265de976
improve image handling for edge cases Fixes #11
7 vuotta sitten
Bud Parr
2806e91176
add image to theme dir and use for fallback
7 vuotta sitten
Bud Parr
8c101b4231
add a copy of the sample image to the theme
7 vuotta sitten
Bud Parr
c48bf1f93b
remove hard-coded link + annotations
7 vuotta sitten
Bud Parr
5fc34b0a4e
remove silly tag h/t @jhabdas
7 vuotta sitten
Bud Parr
95af995e96
remove p tags from .Summary
7 vuotta sitten
Bud Parr
3e722a96d7
mind the dot!
7 vuotta sitten
Bud Parr
3b211400c4
fix issue count
7 vuotta sitten
Bud Parr
2fac73dfac
switch home page work with a variety of sections after earlier PR
7 vuotta sitten
Bud Parr
8f2d0f2964
make form email comment make more sense. Ref #5
7 vuotta sitten
Bjørn Erik Pedersen
a947472c6b
Use Site.Params.mainSections to select pages on home page
This helps with theme portability.
Also use Site.RegularPages in its default sort, as this is probably what most people want.
7 vuotta sitten
Bud Parr
0756c5260e
use a cleaner way to include language code
7 vuotta sitten
Bud Parr
7f7c87a567
fix aria in form
7 vuotta sitten
Bud Parr
1871755a89
add Hugo RSS Link
7 vuotta sitten
Bud Parr
3951d65c61
add taxonomy templates
7 vuotta sitten
Bud Parr
afa7a9d29a
add variaable for header bg class
7 vuotta sitten
Bud Parr
740aaebed3
remove org from form to keep it simple
7 vuotta sitten
Bud Parr
5c53ef6e2f
improve robots to use site param
7 vuotta sitten
Bud Parr
fa51177f05
add site params to env check in head
7 vuotta sitten
Bud Parr
05dfb5753d
add .Site.BaseURL to nav
7 vuotta sitten
Bud Parr
681e009eec
add copyright to footer
7 vuotta sitten
Bud Parr
d8fd2457e9
add absURL to script
7 vuotta sitten
Bud Parr
9c269b8068
use a variable for icon size
7 vuotta sitten
Bud Parr
789d32ad81
remove unused variable in 404
7 vuotta sitten