Commit graph

56 commits

Author SHA1 Message Date
Carl Chenet b6ceb95e13 layout: if layouts/_footer exists, use it instead - merged with i18n 2017-05-23 14:01:05 +02:00
Carl Chenet 29f0b6a944 let spiders crawl all over us 2017-05-16 19:50:36 +02:00
Carl Chenet 05743959cf layout: link to hats (for all) when no hat requests present 2017-05-11 12:35:33 +02:00
Carl Chenet 5fb2df954a add a link for the official Mastodon account. closes #3 2017-04-27 10:08:08 +02:00
Carl Chenet c5635f2b5e add a link 'ask an invitation' on the main page while not logged in. closes #2 2017-04-27 09:53:21 +02:00
Carl Chenet 63a2e0ab6b set traffic bubble on the main logo.fixes #28 2016-11-24 11:14:12 +01:00
Carl Chenet 519a89230a i18n of current traffic. fixes #29 2016-11-22 17:53:11 +01:00
Carl Chenet 1bb466c4d9 add link to the logo 2016-11-17 16:08:02 +01:00
Carl Chenet ba3af3df0b add links for blog, twitter and d* 2016-11-17 15:48:20 +01:00
joshua stein d8c7f98cfd prevent users with much negative karma from submitting new stories 2016-06-22 15:30:44 -05:00
joshua stein ac3347b9cc 1 in 2 million! 2016-06-18 19:25:57 -05:00
joshua stein b10da3e495 cleanup broken html for new message count, add pluralized version 2016-06-14 11:18:25 -05:00
joshua stein 884208a7b7 fix hat request link from locale fallout 2016-06-10 16:35:24 -05:00
joshua stein 71fb5bdaf3 t(), remove bbs link 2016-06-10 16:28:00 -05:00
chaica c962520680 I18n support for layout/application.html view (#294)
* i18n support for layout/application.html view

* i18n english strings for layout/application.html

* i18n french strings for layout/application.html
2016-06-10 17:24:02 -04:00
joshua stein a5928b675d implement hats list and request/approval system
closes #281
2016-04-06 13:19:46 -05:00
joshua stein 9e238647e0 print any meta tags in @meta_tags in layout, add twitter ones for story pages 2015-12-31 09:13:34 -06:00
joshua stein 1e6b892005 show hidpi images for avatars, site load icon, and favicon 2015-11-01 19:56:30 -06:00
joshua stein 1c789fbae0 add /chat page 2015-10-11 13:04:16 -05:00
joshua stein ed021d4975 add conditional link to /bbs 2015-08-04 09:59:21 -05:00
joshua stein c2442a5881 add comments rss feed
The RSS view was already here but never setup in a controller.

Closes #202
2015-04-28 09:51:50 -05:00
joshua stein 491a3d57e8 layout: print flash[:notice] as well 2015-03-10 17:40:57 -05:00
Curtis McEnroe c3d44280d3 Add explanation of traffic number in logo title
Since it keeps getting asked: https://lobste.rs/s/gve5zg/why_does_the_lobsters_l_icon_change_color
2015-01-26 14:05:15 -05:00
joshua stein 73f93ba09d cater to chrome on android 2014-12-15 15:06:53 -06:00
joshua stein b7ede71b31 on home page, show site title instead of "Home" 2014-10-03 17:17:46 -05:00
joshua stein 85cb7c2057 first stab at planet rss aggregation
could probably use a prettier layout and auto-posting a weblog url
to the main site (carrying tags)
2014-08-03 22:07:57 -05:00
joshua stein 7f2c98860d swap out /newest link for /recent 2014-03-12 17:51:42 -05:00
joshua stein 6cab668a2f simplify rss <link> generation 2014-03-12 17:50:51 -05:00
joshua stein 20c870b78b spacing nit 2014-02-17 10:09:33 -06:00
joshua stein fcfd472723 don't show invitation queue to new users
this is just the link to it though, so new users can still invite
from the queue if they know what they're doing
2014-01-13 00:12:43 -06:00
joshua stein ccae78bf34 if user is not logged in, prevent downloading application.js
saves a lot of time for users downloading and processing jquery and
other code that is never used when logged out
2014-01-12 13:28:07 -06:00
joshua stein 831b576325 only show invitation queue link if there are any pending 2014-01-07 11:42:21 -06:00
joshua stein 4914366ffe auto link invitiation request memos 2013-10-24 11:16:07 -05:00
joshua stein aeb25d22b6 add a footer link bar, add /privacy and /about
if these templates (ignored by git) are not present, just show some
text rather than raise an error
2013-10-18 15:55:20 -05:00
joshua stein 249dd85ec3 allow non-logged-in users to define tag filters
when not logged in, store the filters in a long-lasting cookie and
do not cache the home page

for that one guy on hacker news that complained about lobste.rs not
having this
2013-08-05 02:19:55 -05:00
joshua stein a471eb180a don't hardcode "Lobsters" and "lobste.rs" everywhere, use Rails.application.{name,domain} 2013-06-30 01:50:23 -05:00
joshua stein d0459974cd so long whitespace 2013-02-13 18:50:51 -06:00
joshua stein 464b3c3f80 add support for viewing sent private messages 2013-01-24 14:21:22 -06:00
joshua stein 48bdcfd89c add 144x144 version of apple-touch-icon.png for ipad
the logo font is baskerville semi-bold, just for the record
2013-01-04 00:12:44 -06:00
joshua stein f34607f17f set meta referrer tag to "always"
http://wiki.whatwg.org/wiki/Meta_referrer

lobsters isn't secret, but because it's all behind https, browsers
don't send a referrer header when visiting linked stories that
aren't behind ssl.  for site owners, it can be useful to see where a
sudden burst of traffic is coming from and view comments, so force
supporting browsers (currently only chrome) to send the lobsters
referral url.
2012-12-08 13:08:27 -06:00
joshua stein 70f9208a7b shorten top links to avoid running into each other on small screens 2012-11-21 22:04:29 -06:00
joshua stein 5ee6c227a3 <> -> < />, add noarchive robots header 2012-10-24 11:53:43 -05:00
joshua stein 2c6eeeca1b link to /comments in the header 2012-09-19 13:32:52 -05:00
joshua stein 1987a24a2a properly set @title/@heading everywhere 2012-09-07 09:18:15 -05:00
joshua stein 621dde2dc5 show new messages in red so it's obvious 2012-09-03 13:08:31 -05:00
joshua stein 3bd2e6b8a7 show traffic value in link title 2012-09-01 22:56:07 -05:00
joshua stein fc1f7fe5ee move header into layout, no need for another file 2012-08-24 11:42:23 -05:00
joshua stein b01f9e9027 fixup header current page stuff 2012-08-24 11:41:36 -05:00
joshua stein e453ba8b81 add meta tag for short story url 2012-08-24 11:41:35 -05:00
joshua stein 08fade9e9d may as well not render the footer while there's nothing there 2012-08-24 11:41:35 -05:00