jtebert / owen-tribune Goto Github PK
View Code? Open in Web Editor NEWThe Owen Tribune, tremendous news source
The Owen Tribune, tremendous news source
Wagtail doesn't have a built-in approach for embedding CodePen pens, but it does have support for adding embed providers.
Wagtail: Customizing embed providers
(Examples) Built-in Wagtail embed providers
codepen = {
"endpoint": "http://codepen.io/api/oembed",
"urls": [
"^http(?:s)?://codepen\\.io/pen/.+$"
],
}
To the overall "contributors" page (this should be the parent page).
Also make name of the link match the title of the contributors/authors page.
Somehow set by admin settings. Maybe adds it by a style=
tag in the HTML, since I don't know how to use the admin interface to change CSS.
Probably Disqus, because it's easy and for some reason I already have a setting for the disqus username.
Add to:
And make sure style is consistent. Should probably break out into extra templates.
This is fixable adding a clearfix after the article content, I think.
Should be an easy fix.
Figure out how to use Let's Encrypt
mp4 videos that autoplay/autoloop with controls hidden.
Might be able to add as another model (ModelAdmin?) that's handled like images and documents, and can be added via another streamfield.
If a draft has a tag (but the page is not published), that tag still appears on the tag-filter page, even if it is the only page with that tag.
For content headings: clear: both
(on the h2
, h3
, etc.)
For left-floated images: clear: left;
(on the block containing the image -- .block-captioned_image
)
Use wagtail taggit.
Goes somewhere in the top bar?
Not sure if I need to set up elasticsearch. (LazyBaker seems to work fine without it.)
If images are different dimensions (or have different length captions), trying to put them in a row or a grid doesn't turn out nicely.
This might be a use case for Bulma tiles.
A related question: how do you vertically align items with different sizes? (Complicated by having captions/sources in addition to images.)
CodeBlock for StreamField.
Include language-dependent syntax highlighting.
At least on the right side
Use Google SMTP.
For password retrieval and maybe user account creation confirmation.
And update templates accordingly. (Particularly around embedded documents/images/etc.)
Wagtail 2.0 no longer supports Python 2.
It does seem to go through "collapsing" state but then immediately go back to being open. Something wrong w/ the JS. Let's blame Bootstrap
.image.is-captioned.right
should have margin-left: 1.5rem
, but instead it's margin-right: 1.5rem
like the left-aligned images.
Not actually meant to look rendered, in its current state.
Add parameter to image embedding in stream field (custom field?) that lets them be floated left and right.
May also want to apply to videos.
Refined remainder of #1
They look page and don't properly use the templates.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.