Commit Graph

628 Commits

Author SHA1 Message Date
Alan Orth 26e0a9a259
layouts/partials/recent.html: Only list "Regular" pages
This makes Hugo only list "Regular" pages in the sidebar. Otherwise
if you have very few posts, for example, you might see one entry in
the list called "Posts".

See: https://gohugo.io/functions/where/#mainsections
2019-05-26 10:28:31 +03:00
Alan Orth 1faeef487b
Bump version to 1.3.1 2019-05-05 12:37:56 +03:00
Alan Orth 8d6b318a63
CHANGELOG.md: Move unreleased changes to v1.3.1 2019-05-05 12:36:17 +03:00
Alan Orth cca6636809
CHANGELOG.md: Add note about package.json 2019-05-05 12:30:56 +03:00
Alan Orth d6a099a5cd
package.json: Run npm update 2019-05-05 12:30:15 +03:00
Alan Orth 70e79a60fa
CHANGELOG.md: Add note about Twitter link 2019-05-05 12:21:37 +03:00
Alan Orth ed69bec464
layouts: Update Twitter sharing link
Use the new (?) sharing intent and add the page title as Tweet text.
2019-05-05 12:20:21 +03:00
Alan Orth aed40fe2d3
CHANGELOG.md: Add note about SourceHut CI 2019-04-23 16:48:50 +03:00
Alan Orth 81c64c55dd
README.md: Add SourceHut build badge 2019-04-23 16:48:02 +03:00
Alan Orth 480f31074d
.build.yml: Add SourceHut CI script 2019-04-23 16:46:29 +03:00
Alan Orth 947ec526cd
README.md: Add note about RTL language support 2019-04-22 19:19:57 +03:00
Alan Orth 633321fb66
README.md: Fix capitalization 2019-04-22 19:19:08 +03:00
Alan Orth 78eb7cf237
package.json: Bump version to 1.3.0 2019-04-22 18:55:15 +03:00
Alan Orth 620cfa2366
CHANGELOG.md: Move unreleased changes to v1.3.0 2019-04-22 18:54:14 +03:00
Alan Orth b862745a0d
Localize "by" and "in" strings in post meta
This became a problem when I added right-to-left language support.
When you mix RTL languages like Arabic with English (even for just
dates and small strings) everything becomes jumbled. For now I have
only added translations for English (default), Arabic, and Bulgarian.
2019-04-22 18:51:33 +03:00
Alan Orth 9da05e7869
Regenerate style.rtl.css 2019-04-22 15:56:55 +03:00
Alan Orth 1320168ebd
.travis.yml: Use Ubuntu 16.04 "xenial" 2019-04-19 11:04:37 +03:00
Alan Orth 9bb2ec06b0
.travis.yml: Use current and LTS Node.js versions
See: https://nodejs.org/en/about/releases/
2019-04-19 11:00:26 +03:00
Alan Orth 9934368215
layouts: Set dir="auto" on some HTML elements
When a site is rendered in Arabic the root HTML element gets the
dir="rtl" attribute, but even Arabic sites might have an English
title or footer, etc so we should set dir="auto" on those elements.
2019-04-18 23:38:53 +03:00
Alan Orth 2db85d8ab6
CHANGELOG.md: Add note about RTL support 2019-04-18 22:23:06 +03:00
Alan Orth e4876d98cf
i18n/ar.yaml: Put arrow on the right side
This works. The way I understand it is that it needs to be "wrong"
before we run rtlcss so that it gets flipped to be correct when in
right-to-left mode.
2019-04-18 22:21:25 +03:00
Alan Orth 6a3bdc53fd
Add right-to-left version of CSS
This uses rtlcss to make a right-to-left version of the CSS and then
utilizes Hugo's Language variable to conditionally include it. Also,
we set the "dir" attribute on the HTML tag if the currently rendered
language is Arabic.
2019-04-18 22:19:42 +03:00
Alan Orth 974203f6eb
Use rtlcss to make styles appropriate for RTL languages 2019-04-18 22:17:28 +03:00
Alan Orth 90d1a79e01
i18n/ar.yaml: Improved Arabic translation
Credit: Bayan Abid
2019-04-18 16:08:03 +03:00
Alan Orth ed144e2467
theme.toml: Update link 2019-04-18 10:49:43 +03:00
Alan Orth f71886b04f
Add Arabic translation
Very poorly done using Google Translate, just so I can see how the
strings look and have a place to start fixing them.
2019-04-17 18:29:33 +03:00
Alan Orth 4c15fdb00a
CHANGELOG.md: Add unreleased changes 2019-04-17 13:58:33 +03:00
Alan Orth 8ea73321a1
Update dependencies in package.json
To keep in sync with upstream bootstrap dependencies.
2019-04-17 13:58:07 +03:00
Alan Orth 37187d06f3
package-lock.json: Bump version in lock file
I guess this gets updated when I re-run `npm install`...
2019-04-17 13:57:37 +03:00
Alan Orth fdefc2e541
CHANGELOG.md: Update formatting 2019-04-14 16:35:09 +03:00
Alan Orth 3c81a6ca75
CHANGELOG.md: Fix my handle in notes 2019-04-14 16:32:31 +03:00
Alan Orth dedf1bd62c
package.json: Bump version to 1.2.1
It looks like I forgot to do this for a few releases.
2019-04-14 16:30:30 +03:00
Alan Orth ad29f240a2
CHANGELOG.md: Move unreleased changes to v1.2.1 2019-04-14 16:29:47 +03:00
Alan Orth b70b3684b6
CHANGELOG.md: Add unreleased changes 2019-04-14 16:27:02 +03:00
Alan Orth 2916229d28
layouts: Update for Hugo 0.55.0
See: https://github.com/gohugoio/hugo/releases/tag/v0.55.0
2019-04-14 16:25:35 +03:00
Alan Orth 3cced68d64
CHANGELOD.md: Accredit changes 2019-04-06 13:05:22 +03:00
Alan Orth 1ff41d275d
CHANGELOG.md: Add unreleased changes
Remove Google+ sharing support because the platform is being wound
down by Google.
2019-04-06 13:02:36 +03:00
Alan Orth f410c43eed
Merge pull request #108 from bit33/removed-googleplus
Removed Google+ from sharing icons
2019-04-06 12:09:33 +03:00
bit33 08cf066111
Removed Google+ from sharing icons
Google+ is no longer available for consumers
2019-04-05 23:55:09 +02:00
Alan Orth fbb4b9f227
Add Dutch translation to unreleased changes 2019-03-13 09:29:37 +02:00
Alan Orth 9613fcdeee
Add Dutch translation 2019-03-13 09:27:20 +02:00
Alan Orth 13b9552119
Add CHANGELOG.md 2019-02-13 18:43:13 +02:00
Alan Orth c079c28841
Regenerate assets 2019-02-13 18:40:55 +02:00
Alan Orth af05f26a36 Update to Bootstrap v4.3.1
See: https://blog.getbootstrap.com/2019/02/11/bootstrap-4-3-0/
2019-02-13 18:40:17 +02:00
Alan Orth 09e29be817
Add package-lock.json 2018-12-19 13:18:56 +02:00
Alan Orth 3b0a3a1ddc
package.json: Update devDependencies
Synchronize with upstream, see:

https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-12-19 13:18:04 +02:00
Alan Orth 3bc7a79a38
package.json: Bump version to 1.1.7 2018-09-12 13:34:53 +03:00
Alan Orth d26cb4cf55
Change license from GPL-3.0 to CC-BY-3.0
It seems as if I was never actually allowed to license this as GPL
from the start because the example HTML layouts I based this theme
on are part of the Bootstrap documentation, which are CC-BY-3.0.

See: https://v4-alpha.getbootstrap.com/examples/
2018-09-12 13:32:36 +03:00
Alan Orth ebacf45517
package.json: Version 1.1.6 2018-08-29 12:39:56 +03:00
Alan Orth 2fd3d53ce0
Regenerate static assets 2018-08-29 12:39:09 +03:00