Commit Graph

720 Commits

Author SHA1 Message Date
redmt 53a5766de7 Update static.js to pass instance_config to template 2022-06-11 19:40:36 +02:00
redmt a0fcdf101e Update search.js to pass instance_config to template 2022-06-11 19:40:34 +02:00
redmt 55bd044b06 Update save.js to pass instance_config to template 2022-06-11 19:40:32 +02:00
redmt b2dba3f723 Update preferences.js to pass instance_config to template 2022-06-11 19:40:31 +02:00
redmt 8f57cb143b Update home.js to pass instance_config to template 2022-06-11 19:40:29 +02:00
redmt 69a9b0e080 Update inc/initRedditApi.js to pass instance_config to template 2022-06-11 19:40:27 +02:00
redmt afbad4ae3b Update subreddit.js to pass instance_config to template 2022-06-11 19:40:26 +02:00
redmt 20db540b5c Update topbar.pug to use suggested_subreddits 2022-06-11 19:40:23 +02:00
redmt cfdfd4a2b1 Rename internal_config to instance_config for homepage.pug 2022-06-11 19:40:16 +02:00
redmt 555ff9068b Fix search form width for homepage.pug 2022-06-11 19:40:13 +02:00
redmt 2ff979bdda Update homepage.pug to show suggested subreddits 2022-06-11 19:40:00 +02:00
redmt 108f87a5e4 Add suggested_subreddits option to config.js.template 2022-06-11 19:39:38 +02:00
teddit 0432c7484d hide top links from the top bar in the cleaned homepage view 2022-06-11 14:00:01 +02:00
teddit a63b5beb7e add top bar to the cleaned homepage, and also fix the homepage pug markup (by adding commas after attrs) 2022-06-11 13:56:37 +02:00
teddit 60d9b33825 update version 0.4.4 => 0.4.5 2022-06-11 13:48:41 +02:00
teddit c9b2dbf750 fix identation 2022-06-11 13:45:15 +02:00
teddit b797cef167 fix clean_homepage feature so that the user can enable or disable it despite of the instance config 2022-06-11 13:42:19 +02:00
teddit 096c7218d4 Merge pull request 'Add cleaned homepage' (#312) from redmt/teddit:add_clean_homepage into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/312
2022-06-11 11:51:47 +02:00
redmt fb6673265e Add cleaned homepage 2022-06-10 22:24:58 +02:00
redmt 546fdb5d77 Convert 'on' value in prefer_frontpage setting to 'true' 2022-06-10 22:22:37 +02:00
redmt d368acac29 Hide homepage setting when it's disabled site-wide 2022-06-10 22:21:54 +02:00
redmt d6b2e0700a Fix wrong rename for frontpage.pug 2022-06-10 21:45:18 +02:00
redmt 6c52664155 Add setting to preferences for preferred homepage mode 2022-06-10 21:24:13 +02:00
redmt 27ade36805 Rename index.pug to frontpage.pug 2022-06-10 20:05:36 +02:00
redmt 354180119f Add clean_homepage option to config.js.template 2022-06-10 20:03:25 +02:00
teddit 3855a618ee update version 0.4.3 => 0.4.4 2022-06-10 19:32:34 +02:00
teddit 9e4ea80c7e check that subreddit_about exists (sometimes it might be null and referencing to the public_description_html will throw an error 2022-06-10 19:30:24 +02:00
teddit 1c9b125b70 Merge pull request 'Add OpenGraph meta tags for rich embeds' (#311) from redmt/teddit:add_opengraph_meta_tags_for_embeds into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/311
2022-06-10 19:14:31 +02:00
redmt 7f8cc27ffb Add og: meta tags in user.pug 2022-06-10 16:10:28 +02:00
redmt 7a508c55ee Add og: meta tags in subreddits_explore.pug 2022-06-10 16:10:14 +02:00
redmt 05d7db481c Add og: meta tags in subreddit_wiki.pug 2022-06-10 16:09:54 +02:00
redmt ae429bcbf9 Add og: meta tags in search.pug 2022-06-10 16:09:40 +02:00
redmt a73bd2e3ec Add og: meta tags in saved.pug 2022-06-10 16:09:28 +02:00
redmt 9c8e72eccd Add og: meta tags in privacypolicy.pug 2022-06-10 16:09:14 +02:00
redmt 0bf3ead82d Add og: meta tags in preferences.pug 2022-06-10 16:08:58 +02:00
redmt cc6c2a1cd6 Add fallback logo for text-only posts in meta_post.pug 2022-06-10 16:01:39 +02:00
redmt 6328e41bcf Update processJsonPost.js to remove newlines from selftext_preview 2022-06-10 15:56:54 +02:00
redmt 319fa35d5f Update processJsonPost.js to store a preview selftext 2022-06-10 15:42:37 +02:00
redmt 064c97579e Fix invalid indentation in meta_post.pug 2022-06-10 15:27:41 +02:00
redmt 811348c1af Add og: meta tags for subreddit.pug 2022-06-10 15:20:56 +02:00
redmt 2f51368ac6 Move common og: meta definitions to include files 2022-06-10 15:20:06 +02:00
redmt 932d7f07ee Move post meta definition to separate file 2022-06-10 15:18:36 +02:00
redmt 5ef61af67f Add og:type property to frontpage 2022-06-10 12:03:23 +02:00
redmt 04395734cf Remove og:image:url property for gallery posts 2022-06-10 11:58:32 +02:00
redmt 2a92f0a57d Add og: meta tags to post.pug 2022-06-10 11:30:58 +02:00
redmt 12790f7e8e Add og: meta tags to about.pug 2022-06-10 11:30:44 +02:00
redmt 22328e318c Add og: meta tags to index.pug 2022-06-10 11:30:13 +02:00
redmt 7ceb0e8b5d Add og:site_name meta tag to head.pug 2022-06-10 11:12:56 +02:00
redmt 9553b94cc0 Add manually upscaled application logo to static content 2022-06-10 11:11:57 +02:00
teddit 8ccc694d2f fix media proxying (clicking preview.redd.it image links was broken after 3612345fab 2022-05-01 19:14:39 +02:00