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

Template HTML in code #25

Open
github-actions bot opened this issue Jul 31, 2024 · 1 comment
Open

Template HTML in code #25

github-actions bot opened this issue Jul 31, 2024 · 1 comment

Comments

@github-actions
Copy link

import Helper from '../../../Helper';

export default function TOC(doc: HTMLDivElement) {
  doc.parentElement?.insertAdjacentHTML(
    'afterbegin',
    // TODO template
    // TODO config spacing
    `<div id="toc" class="card col-md-3 order-md-2 sticky-lg-top">
          <div class="card-body">
            <h5 class="card-title">On this page</h5>
            <div class="card-text dynamic-content"></div>
          </div>
        </div>`
  );
  Helper.log(`Added #toc DOM`);
}
Copy link
Author

github-actions bot commented Aug 5, 2024

Closed in fa99cc6

@battis battis reopened this Aug 5, 2024
@battis battis changed the title template Template HTML in code Aug 11, 2024
battis added a commit that referenced this issue Oct 8, 2024
- Remove expired items from index
- Include webViewLink in HTML when available
- Working on #25 using EJS in apps/index for renderblob()
- Typed exponential backoff
- Update permissions indexAclStatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant