diff options
author | Carl Helmertz <carl.helmertz@elvaco.se> | 2018-10-14 16:28:24 +0200 |
---|---|---|
committer | fguillot <fred@miniflux.net> | 2018-10-21 11:53:17 -0700 |
commit | 8c65c78904225e92df045cac43700210936ca148 (patch) | |
tree | d98749eab3757161d9961bed5226e05e0eea1163 /template | |
parent | 74c35ad000a09d689e501f5995a109708fb4ff00 (diff) |
NavHandler: Make "g f" go to feed, or list of feeds
When you're reading an entry, you may want to go to the feed first,
before quickly continuing to reading all of the feeds with another "g
f".
Diffstat (limited to 'template')
-rw-r--r-- | template/common.go | 3 | ||||
-rw-r--r-- | template/html/common/layout.html | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/template/common.go b/template/common.go index 1afb9f1..379f7f9 100644 --- a/template/common.go +++ b/template/common.go @@ -191,6 +191,7 @@ var templateCommonMap = map[string]string{ <ul> <li>{{ t "page.keyboard_shortcuts.go_to_previous_item" }} = <strong>p</strong>, <strong>j</strong>, <strong>◄</strong></li> <li>{{ t "page.keyboard_shortcuts.go_to_next_item" }} = <strong>n</strong>, <strong>k</strong>, <strong>►</strong></li> + <li>{{ t "page.keyboard_shortcuts.go_to_feed" }} = <strong>g + f</strong></li> </ul> <p>{{ t "page.keyboard_shortcuts.subtitle.pages" }}</p> @@ -244,6 +245,6 @@ var templateCommonMap = map[string]string{ var templateCommonMapChecksums = map[string]string{ "entry_pagination": "4faa91e2eae150c5e4eab4d258e039dfdd413bab7602f0009360e6d52898e353", "item_meta": "34deb081a054f2948ad808bdb2c8603d6ab00c58f2f50c4ead0b47ae092888eb", - "layout": "69ba8db45fde768cf71bab7dba60cece39968a185cec58850582dec11668efec", + "layout": "4a5339267f67b5999a22ece7584df4c75785bc3bf95d44e1891da763aaea7991", "pagination": "3386e90c6e1230311459e9a484629bc5d5bf39514a75ef2e73bbbc61142f7abb", } diff --git a/template/html/common/layout.html b/template/html/common/layout.html index cf49fa5..312c21f 100644 --- a/template/html/common/layout.html +++ b/template/html/common/layout.html @@ -117,6 +117,7 @@ <ul> <li>{{ t "page.keyboard_shortcuts.go_to_previous_item" }} = <strong>p</strong>, <strong>j</strong>, <strong>◄</strong></li> <li>{{ t "page.keyboard_shortcuts.go_to_next_item" }} = <strong>n</strong>, <strong>k</strong>, <strong>►</strong></li> + <li>{{ t "page.keyboard_shortcuts.go_to_feed" }} = <strong>g + f</strong></li> </ul> <p>{{ t "page.keyboard_shortcuts.subtitle.pages" }}</p> |