webplatform / annotation-service

Hypothes.is’ container project to customize for notes.webplatform.org
1 stars 0 forks source link

Validate how we can add our own fork skin and content #11

Closed renoirb closed 9 years ago

renoirb commented 9 years ago
tilgovi commented 9 years ago

I have no idea what that branch is. This entire repo is living documentation of overriding the base h project. That's all it does.

tilgovi commented 9 years ago

Looks like just this commit? https://github.com/webplatform/notes-server/commit/7825c483ba66ea973c7e3506192e710ee198468b

tilgovi commented 9 years ago

Here's an example of overriding an asset: https://github.com/webplatform/notes-server/blob/master/notes_server/__init__.py#L119

You could do the same with h:templates/home.pt or h:templates/header.pt or h:static/images/logo.png or any things you want to override.

You should also look at blocks.pt and checking better messages than the placeholder I wrote.

http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/assets.html#overriding-assets

renoirb commented 9 years ago

Thanks! that’ll do :+1: