1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-18 02:07:05 +01:00
Commit Graph

323 Commits

Author SHA1 Message Date
0e54dba17a
layouts/post/summary.html: Rework author name display
Use author name from frontmatter if it exists, otherwise use the
author from the site config.
2016-08-30 12:31:32 +03:00
8a0716d236
Use site author for post attribution 2016-08-30 12:07:43 +03:00
4c68cf71b0
Move summary layout to posts
The only content type we have is posts, so the summary type should
be there.
2016-08-30 11:39:03 +03:00
4043f1b1f4
Use site title in header, not context's title
Depending on the context the ".Title" could be the post or page's
title, but here we actually want the site's title.
2016-08-30 00:39:48 +03:00
d0fa547c10
Add basic single template for post type 2016-08-30 00:39:13 +03:00
a686a7636a
layouts/index.html: Adjust indentation 2016-08-30 00:33:57 +03:00
fb9376d24b
layouts: Move _default/single.html template to post archetype
For now the only singles we need are posts, so it makes sense to
move this there. I can make another single template for pages later.
2016-08-30 00:33:06 +03:00
b164ceb53c
Add common HTML tags to head and footer so we can re-use them 2016-08-30 00:31:01 +03:00
57328b9015
README.md: Remove jQuery references
I'm not using it at the moment. I can re-add it if I need any of
Bootstrap's features that are using jQuery.
2016-08-29 17:18:37 +03:00
ea1da4a69e
Use HTML5 article tag for blog post summaries
See: https://developer.mozilla.org/en/docs/Web/HTML/Element/article
2016-08-29 16:24:14 +03:00
bfaa9ac247
layouts: Allow hiding the sidebar
Set the following parameter to hide the sidebar:

  [params.sidebar]
    hide = true
2016-08-28 23:41:34 +03:00
6ccdf9a438
layouts: Allow specifying number of "Recent Posts" to display in the sidebar
Set the following param in your config:

  [params.sidebar]
    num_recent_posts = 5

Alternatively, delete or comment out the variable to disable showing
of recents. I should probably allow setting it to "0" to disable.
2016-08-28 22:45:51 +03:00
72d8ffd7e3
layouts: Add indentation to sidebar 2016-08-28 22:41:52 +03:00
f76b5a069a
layouts: Improve usage of datetime
Use the date format from the config, and print it in a time tag.

See: https://golang.org/pkg/time/
2016-08-28 22:15:16 +03:00
8b7d70e3c0
Remove js libraries
I'm not actually using anything that needs jQuery or Bootstrap's
JS yet.
2016-08-28 22:11:45 +03:00
9d800f41c8
package.json: Add git repository 2016-08-28 20:54:53 +03:00
2f5826a5bf
theme.toml: Add real data 2016-08-28 20:52:52 +03:00
39f03b55aa
README.md: Add note that this is still a work in progress 2016-08-28 19:35:45 +03:00
c397c22d14
Add screenshot to README.md 2016-08-28 19:31:31 +03:00
a22912a253
package.json: Node version 4→6
Not that it matters for this project.
2016-08-28 19:01:18 +03:00
b8ea8f91f5
README.md: Adjust license text 2016-08-28 16:27:54 +03:00
14fb3277e2
Add initial .gitignore
Ignore the node_modules directory by default
2016-08-28 16:22:58 +03:00
2bb1d6ecc0
First commit with initial theme
Some file are empty (created by `hugo new theme`), but I've left
them for reference later.
2016-08-28 16:22:32 +03:00