Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Midhat/sponsoring #11

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Midhat/sponsoring #11

wants to merge 3 commits into from

Conversation

katiayn
Copy link
Member

@katiayn katiayn commented May 7, 2018

No description provided.

@katiayn
Copy link
Member Author

katiayn commented May 7, 2018

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants