81 Commits

Author SHA1 Message Date
budparr
accdd80d99
Use straight up tags here.
Moving related content elsewhere
2018-04-09 10:55:57 -04:00
budparr
2a0b557562
Remove errant debug copy 2018-04-09 10:41:39 -04:00
budparr
94b711c442
Use CurrentSection for section heading
Allows us to use section title instead of inferring from the folder.

Also added some whitespace
2018-04-09 10:40:19 -04:00
budparr
18433eb3da
Use more succinct Pages listing 2018-04-09 10:35:51 -04:00
budparr
32350c9a9e
Further improve layout 2018-04-09 10:34:58 -04:00
budparr
65de4fddb0
Improve semantic structure 2018-04-09 10:22:02 -04:00
budparr
1f4e740236
Fix flex column
Fixes #58 The aside column expanded if its content was too large.
2018-04-09 10:20:29 -04:00
budparr
253214cbc6
Use paginator 2018-04-09 10:14:13 -04:00
budparr
60a5e2e708
Use default flex layout for lists 2018-04-09 10:14:03 -04:00
budparr
cf1a85ec29
Modernize placement of post list page and add some comments.
By modernize I mean that Hugo formerly used the "section/section"
scheme, but now we can put all related section templates in one folder.

Also, more commenting!
2018-04-09 10:11:55 -04:00
budparr
fa3dcbf535
Improve layout structure so users don't have to name posts "post"
By moving default to a page layout and posts to default, any section can
be a post. Some users were confused when they had posts that were not
named as such. No need to impose naming conventions on people.
2018-04-09 10:04:19 -04:00
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
2018-01-15 20:26:37 -05:00
Russell Cohen
8b59adb79b Fix pagination (#76) 2018-01-08 23:03:52 -05:00
budparr
ff25b71173
Fix linkedin icon to match the other social icons
Fixes #70
2017-11-06 17:44:30 -05:00
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
2017-11-01 11:08:19 -04:00
Developer Davo
2a1495aaa5 Fix typo in single.html (#67) 2017-10-31 08:30:32 -04:00
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.
2017-10-16 12:56:21 -04:00
Adam Kaplan
1e37db6cef Favicons (#54)
* Adding support for favicon

* Fixing html tag
2017-09-27 07:52:26 -04:00
budparr
be9acde3f4
Merge branch 'master' of https://github.com/budparr/gohugo-theme-ananke
* 'master' of https://github.com/budparr/gohugo-theme-ananke:
  indent fix (#45)
2017-09-26 12:00:34 -04:00
budparr
4d9dc08ee0
Fix spacing 2017-09-26 11:59:56 -04:00
budparr
1dd38282ab
Remove margin 2017-09-26 11:59:47 -04:00
alea12
c850d4f9f8 indent fix (#45) 2017-09-26 11:55:13 -04:00
Brad Clark
eb765fdbc8 Social icon updates (#51)
* add linkedin

* update github svg to fix spacing

* add colors from brandcolors.net
2017-09-26 11:51:01 -04:00
Brad Clark
293cedefc1 Add GitHub social icon (#48)
* add github social link

* add github css

* fix css error breaking rollover
2017-09-20 15:12:25 -04:00
Bud Parr
a3dc1ac327 Add body_classes parameter to body
Fixes #43
2017-08-23 20:00:53 -04:00
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
2017-07-23 08:36:54 -04:00
Bud Parr
6350c2fee6 Fixes #31 (#32) 2017-05-23 07:29:06 -04:00
Bud Parr
ec0d6b4700 Bp/fix now function Fixes #29 (#30) 2017-05-15 22:12:36 -04:00
Bud Parr
8f4c3b571d
use better class names 2017-05-02 08:16:53 -04:00
Bud Parr
00a797e9bd fix clunky construction on home page to get section name (#17) 2017-04-21 18:41:10 -04:00
Bud Parr
9543d90786
tweak hero default behavior 2017-04-20 08:18:43 -04:00
Bud Parr
b0c7d8bd88
improve terms template 2017-04-19 20:00:11 -04:00
Bud Parr
ee265de976
improve image handling for edge cases Fixes #11 2017-04-19 16:45:24 -04:00
Bud Parr
2806e91176
add image to theme dir and use for fallback 2017-04-18 23:27:06 -04:00
Bud Parr
8c101b4231
add a copy of the sample image to the theme 2017-04-18 23:20:19 -04:00
Bud Parr
c48bf1f93b
remove hard-coded link + annotations 2017-04-18 22:55:01 -04:00
Bud Parr
5fc34b0a4e
remove silly tag h/t @jhabdas 2017-04-18 20:16:27 -04:00
Bud Parr
95af995e96
remove p tags from .Summary 2017-04-17 19:02:51 -04:00
Bud Parr
3e722a96d7
mind the dot! 2017-04-17 18:34:05 -04:00
Bud Parr
3b211400c4
fix issue count 2017-04-17 18:33:54 -04:00
Bud Parr
2fac73dfac
switch home page work with a variety of sections after earlier PR 2017-04-17 18:30:22 -04:00
Bud Parr
0fa68b2ac3
Merge branch 'where-section' of https://github.com/bep/gohugo-theme-ananke into bep-where-section 2017-04-17 18:27:03 -04:00
Bud Parr
8f2d0f2964
make form email comment make more sense. Ref #5 2017-04-17 18:24:38 -04:00
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.
2017-04-17 17:27:26 +02:00
Bud Parr
0756c5260e
use a cleaner way to include language code 2017-04-17 10:54:58 -04:00
Bud Parr
7f7c87a567
fix aria in form 2017-04-17 09:05:48 -04:00
Bud Parr
1871755a89
add Hugo RSS Link 2017-04-17 09:05:36 -04:00
Bud Parr
3951d65c61
add taxonomy templates 2017-04-16 10:40:53 -04:00
Bud Parr
afa7a9d29a
add variaable for header bg class 2017-04-15 20:14:13 -04:00
Bud Parr
740aaebed3
remove org from form to keep it simple 2017-04-15 20:08:50 -04:00