Skip to content

Convert to Semantic Markup - #133

Closed
paltman wants to merge 29 commits into
masterfrom
semantic
Closed

Convert to Semantic Markup#133
paltman wants to merge 29 commits into
masterfrom
semantic

Conversation

@paltman

@paltman paltman commented May 1, 2017

Copy link
Copy Markdown
Contributor

I have converted all the templates that ship with this app to semantic markup.

Now I'm working on providing some style maps as outlined in this blog post over in a project that I've built to support rapid template development and maintenance.

Investigate if I should be doing something better than using @extend or maybe I'm using it wrong, as now that I'm extending more and more of some of the same rules, it seems to be breaking other parts of the style.

To Style

  • general
  • django-user-accounts
  • pinax-blog
  • pinax-notifications
  • pinax-cohorts
  • pinax-announcements
  • pinax-stripe
  • pinax-messages
  • pinax-likes
  • pinax-invitations
  • pinax-documents

{% comment "figure out how to detect other pinax apps and dynamically add here" %}{% endcomment %}
<a class="notice-settings" href="{% url "pinax_notifications:notice_settings" %}">
{% trans "Notices" %}
</a>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brosner There are a couple ways I can think of adding this capability. One being a context processor that ships with the theme that does some INSTALLED_APPS inspection and provides a variable switch on. But I wanted to check with you to see what you thought.

@paltman paltman changed the title WIP: Convert to Semantic Markup Convert to Semantic Markup Oct 30, 2017
@paltman

paltman commented Oct 30, 2017

Copy link
Copy Markdown
Contributor Author

This work has been pushed to https://github.com/pinax/pinax-templates and pinax-templates 0.1 is now on PyPI

@paltman paltman closed this Oct 30, 2017
@paltman
paltman deleted the semantic branch October 30, 2017 20:02
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.

1 participant