efeea87249
Markdown preview regression: Markdown preview failed in edit project
2018-12-18 17:38:04 +01:00
e56b3ec61f
Use Pillar's built-in markdown when editing projects/creating posts.
2018-09-16 04:27:24 +02:00
78b186c8e4
Blog: Unify all post viewing in one template
...
During the years we went from site-wide blog, to project blog, to
post view inside a project, to full one-page post view. This led
to have multiple ways to see the same content.
This commit brings all post related stuff to always use index.pug
(or index_archive if we are looking blasts from the past).
2018-09-14 20:29:44 +02:00
232321cc2c
Blog: Cleanup CSS
2018-09-14 17:29:13 +02:00
32c7ffbc99
Move project-main to Blender Cloud
...
Also remove calls to project-landing, it is now part of project-main.
It was just a few lines of code not worth having a different CSS file.
2018-09-14 16:56:35 +02:00
1500e20291
Blog: cleanup of layout and style
...
Simpler markup reusing bootstrap 4 classes.
2018-09-06 12:42:37 +02:00
b4acfb89fa
Layout: use bootstrap classes
2018-08-31 19:31:36 +02:00
505e3c3a6d
New design for project landing pages and blogs
2018-04-16 14:33:38 +02:00
12272750c3
T53890: Improving static content serving
...
Static files are now served with an 8-character hash before the last
extension. For example, `tutti.min.js` is now served as
`tutti.min.abcd1234.js`. When doing a request the hash is removed before
serving the static file.
The hash must be 8 characters long, and is taken from STATIC_FILE_HASH.
It is up to the deployment to change this configuration variable
whenever static files change. This forces browsers that download newly
deployed HTML to also refresh the dependencies (most importantly
JS/CSS).
For this to work, the URL must be built with `url_for('static_xxx',
filename='/path/to/file')`. The 'static' module still returns regular,
hashless URLs.
2018-03-23 17:36:14 +01:00
5fbe62105a
Blog: Minor layout tweaks
...
* Make header image clickable
* Make thumbnails on blog list clickable
* Put action buttons in .blog-action for easier positioning
* Cleanup
2017-10-25 16:02:02 +02:00
771b93b169
Blog: Don't display author name on sidebar
2017-10-25 16:02:02 +02:00
f42334453c
Deduplicated code for image expansion into the page overlay
...
It now also supports WEBP links, and is compatible with Google Cloud
Storage (which adds ?blablabla to links).
2017-10-05 17:32:55 +02:00
2603c4f44f
Deduplicated blog templates by using macros.
2017-10-05 17:32:55 +02:00
Pablo Vazquez
da7be50c61
Comments: Cleanup and convert more IDs to classes when possible
...
No functional changes.
2017-09-30 23:21:54 +02:00
e4fff8df81
Added missing project_container variable.
2017-09-28 17:43:48 +02:00
811236cff4
Migrate Jade to Pug template engine
...
Jade templates engine has been renamed to Pug.
We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00
b88594958d
Convert spaces to tabs for jade files
2017-07-13 12:36:06 +02:00
3d1757476a
Support for OpenGraph and Twitter cards in blogposts
2017-07-13 12:36:06 +02:00
ce5e27814a
Blog: Fix top bar not full width
2017-03-23 18:52:24 +01:00
0e6bdf9467
Update CSS caches
2017-03-22 15:49:51 +01:00
6765276519
Introducing attachments fixes for blog posts and assets.
...
Requires migration of attachments schema using
python manage.py maintenance upgrade_attachment_schema --all
2017-02-21 18:08:42 +01:00
7b9fef2fc8
Update caches
2017-02-06 14:44:05 +01:00
528887b1a6
Unify Twitter cards and Open Graph data
2017-02-06 14:37:53 +01:00
b8ad0cd18f
Update cache version
2017-02-02 17:40:32 +01:00
85dba5e9e9
Blog: Re-order hideOverlay to be re-used
2017-01-20 13:13:11 +01:00
350577033c
Blog: Expand images when clicking on them (and the link is an image)
...
Duplicated in both index/view post to get it out for today's Cycles post, wrote a note to fix this.
2017-01-20 12:38:50 +01:00
7a6e1d3386
refresh css
2016-12-02 17:54:12 +01:00
86b5c1b242
Fix scrolling on sidebar for posts
2016-12-01 16:42:17 +01:00
ffdffdeb96
Bigger thumbnail for posts
2016-12-01 16:39:20 +01:00
455bfdfc49
Update CSS
2016-12-01 16:31:03 +01:00
2ad3c8a7ed
Show Browse Project on top of the list
2016-12-01 16:30:27 +01:00
2bae7c2fef
Thumbnail on list of blogs on sidebar
2016-12-01 16:21:02 +01:00
b6b517688e
Display blog list and posts within the project
...
TODO: Edit within the project as well
2016-12-01 15:57:59 +01:00
738c3e82d7
Remove box for containers on posts
2016-11-21 12:37:03 +01:00
53cbe78ec1
Use #comments-embed for embedding comments. Avoid duplicate ID
2016-11-01 15:53:40 +01:00
4398d250a7
Fix broken upload widgets on posts
2016-08-19 11:47:06 +02:00
2c5dc34ea2
Introducing Pillar Framework
...
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.
Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00