pyconbalkan icon indicating copy to clipboard operation
pyconbalkan copied to clipboard

Midhat/sponsoring

Open katiayn opened this issue 7 years ago • 1 comments

katiayn avatar May 07 '18 17:05 katiayn

@midhatstam I made some changes and created the apps.

You created sponsors.html and cfp.html, I created the apps and added them to proper template directories. The cpf is empty for some reason, but I just created a base.html so you will work on the main content only.

Now you define a html file with content for specific page: https://github.com/PythonBalkan/pyconbalkan/blob/develop/pyconbalkan/core/templates/base.html#L115

How? You define the main content for each page:

{% extends "base.html" %}

{% block main_content %}

<!-- Main Content -->
...
<!-- END of Main Content -->

{% endblock %}

See the example for organizer: https://github.com/PythonBalkan/pyconbalkan/blob/develop/pyconbalkan/organizers/templates/organizers.html :)

katiayn avatar May 07 '18 17:05 katiayn