Commit graph

27370 commits

Author SHA1 Message Date
Faris Ansari
de8c021eea fix: Scope card styles to section-with-cards 2020-09-18 14:30:58 +05:30
Faris Ansari
404f22fc5b fix: Prevent shrink in collapsible icon 2020-09-16 13:25:26 +05:30
Faris Ansari
4e6135a3a1 fix: Set type as Section 2020-09-15 16:27:31 +05:30
Faris Ansari
68fc8253e0 feat: Split section with image
- Vertical align content to top or middle
- Configurable column split
2020-09-15 16:20:24 +05:30
Faris Ansari
773aa6bab1 fix: Render html as text to prevent html injection 2020-09-15 14:30:55 +05:30
Faris Ansari
7e2fed4ed2 fix: match multiline scripts and styles 2020-09-15 14:30:41 +05:30
Faris Ansari
12476fee42 fix: Clear sitemap cache along with website cache 2020-09-15 12:26:54 +05:30
Faris Ansari
df0548b38e fix: Fallback image alt 2020-09-15 11:45:06 +05:30
Faris Ansari
327642e32a feat: Align center in markdown template 2020-09-15 11:45:06 +05:30
Faris Ansari
e5d53470d7 fix: Better label for hero button action 2020-09-15 11:45:06 +05:30
Faris Ansari
95f015e448 fix: Navbar CTA undo margin in mobile view 2020-09-14 15:38:58 +00:00
Faris Ansari
12dbb64661 fix: Conditionally render subtitle and image 2020-09-14 15:23:53 +00:00
Faris Ansari
327ae738b9 fix: Default 3 columns for features section 2020-09-14 15:23:37 +00:00
Faris Ansari
8f0f17eb7e fix: Render web blocks using web_template.render
- web_block object need not be a WebPageBlock instance
2020-09-14 15:23:14 +00:00
Faris Ansari
627aff4bb8 fix: Handle jpe files in image_to_base64 2020-09-14 15:21:22 +00:00
Faris Ansari
7a31983c90 fix: Succinct syntax for rendering web templates 2020-09-11 19:49:20 +05:30
Faris Ansari
cc9fdd690a fix: Check if file exists before generating base64 2020-09-11 19:22:34 +05:30
Faris Ansari
85a3a8bd35 fix: Delete old theme files if theme is custom 2020-09-11 17:00:02 +05:30
Faris Ansari
1f2b099ca2 fix: Move navbar styles to navbar.scss
- Add left margin to Navbar CTA
2020-09-11 16:59:05 +05:30
Faris Ansari
20ead217d1 fix: UX
- Show route and published in list view of Web Page
- Show Type and Standard in list view of Web Template
2020-09-11 16:22:34 +05:30
Faris Ansari
a86af4b070 feat: Support style tags in Web Template
Style tags will now be extracted and loaded once per Web Template.
So, if the template is used multiple times on the same page, the style
tag will be rendered only once.
2020-09-11 16:20:53 +05:30
Faris Ansari
87ca4f4156 fix: Print error to avoid silent failure 2020-09-11 16:03:00 +05:30
Faris Ansari
08fdf40afb fix(Small CTA: Hide subtitle and cta if not set 2020-09-11 16:02:40 +05:30
Faris Ansari
e662047f26 fix: Web Template
- Disable standard web template form in production
- Prevent standard web template creation in production
- Set type for all templates
2020-09-11 16:00:25 +05:30
Faris Ansari
687298f723 fix: Indicator check 2020-09-11 15:58:19 +05:30
Faris Ansari
3b2819b0d8 fix: Set _context_dict always 2020-09-10 12:44:39 +00:00
Faris Ansari
dff53d6fab feat: Slideshow Web Template
- Clickable slideshow items
2020-09-10 15:33:57 +05:30
Faris Ansari
4a58f2224c fix: Ignore SVG images 2020-09-10 15:33:57 +05:30
Faris Ansari
ab80058d85 fix: Set og:type to website for web page 2020-09-10 15:33:50 +05:30
Faris Ansari
c555e819d5 feat: Extended spacing scale 2020-09-03 13:59:20 +05:30
Faris Ansari
58a819c305 fix: import 2020-09-03 13:59:20 +05:30
Faris Ansari
67b9b0dd14 fix: Show Edit DocType button in Singles Form in dev mode 2020-09-03 13:59:20 +05:30
Faris Ansari
6692211705 feat: Customizable navbar and footer with Web Template 2020-09-03 13:59:18 +05:30
Faris Ansari
4889ce13ce fix: Conditionally render subtitle 2020-09-03 13:58:22 +05:30
Faris Ansari
5305873a37 fix: Set common css variables on root 2020-09-03 13:58:22 +05:30
Faris Ansari
629c4afca0 feat: Section with Embed 2020-09-03 13:58:22 +05:30
Faris Ansari
3a5927d372 fix: Responsive styling for Section with Features 2020-09-03 13:58:22 +05:30
Faris Ansari
ba5cc110ed fix: Collapsible icon 2020-09-03 13:58:22 +05:30
Faris Ansari
a73a54723b fix: Footer styles 2020-09-03 13:58:22 +05:30
Faris Ansari
3b434251d0 feat: Hero align center style 2020-09-03 13:58:22 +05:30
Faris Ansari
b7facef52d feat: Section with Features 2020-09-03 13:58:22 +05:30
Faris Ansari
6c46cbd4a3 fix: Hero image layout reflow on lazy load
Before this change the hero image would cause a layout reflow resulting
a layout jump when the image is loaded
2020-09-03 13:58:22 +05:30
Faris Ansari
03aed4d7f1 fix: Apply vertical margin only in sidebar layout 2020-09-03 13:58:22 +05:30
Faris Ansari
e010947e38 fix: revert overflow auto 2020-09-03 13:58:22 +05:30
Faris Ansari
6138e0b4bb fix: empty init file 2020-09-03 13:58:22 +05:30
Faris Ansari
9afc6a7b9b feat: Support for Table field via Table Break in Web Template 2020-09-03 13:58:22 +05:30
Faris Ansari
f53fab8918 fix: Fields is not mandatory in Web Template 2020-09-03 13:58:22 +05:30
Faris Ansari
db69a4eee5 fix: Syntax highlighting for Custom SCSS field 2020-09-03 13:58:22 +05:30
Faris Ansari
8c905437e6 fix: Add template validation in web_blocks 2020-09-03 13:58:22 +05:30
Faris Ansari
fbbfce51fb fix: Remove margin bottom of last child in md 2020-09-03 13:58:22 +05:30