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

Custom themes support #23

Open
resure opened this Issue Oct 28, 2017 · 1 comment

Comments

1 participant
@resure
Collaborator

resure commented Oct 28, 2017

Adding CSS overrides to support themes on special namespaces and pages (example).

Approximate configuration example for applying custom theme to all pages with some tag:

customThemedTags: {
  'tag-name': 'theme-name',
  // ...
  'third-law': 'third-law-theme'
}

Tags can be fetched via pages.get_meta (in batches of 10 pages), or using ajax connector for ListPages module:

[[module ListPages separate="no" perPage="250"]]
  [[head]]
    [[ul id="u-myList" class="..."]]
  [[/head]]
  [[body]]
    [[li class="list-item"]]
      %%category%%:%%name%%|%%tags%%
    [[/li]]
  [[/body]]
  [[foot]]
    [[/ul]]
  [[/foot]]
[[/module]]

It also should be able to override theme for one separate page, not only by tags (scp-682-cu).

Pages & namespaces with custom themes:

@resure resure added this to Backlog in Public Dev Board Mar 12, 2018

@resure resure added the InterWiki label Mar 12, 2018

@resure resure changed the title from InterWiki: Custom themes support to Custom themes support Mar 12, 2018

@resure

This comment has been minimized.

Show comment
Hide comment
@resure
Collaborator

resure commented Jul 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment