{"id":19620652,"url":"https://github.com/nakov/gitbook-plugin-headers-and-footers","last_synced_at":"2026-07-02T11:33:14.554Z","repository":{"id":146213038,"uuid":"438290108","full_name":"nakov/gitbook-plugin-headers-and-footers","owner":"nakov","description":"Gitbook Plugin for Inserting Headers and Footers","archived":false,"fork":false,"pushed_at":"2021-12-14T15:01:11.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T18:53:18.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nakov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T14:46:52.000Z","updated_at":"2021-12-14T15:01:14.000Z","dependencies_parsed_at":"2023-10-26T14:18:33.101Z","dependency_job_id":null,"html_url":"https://github.com/nakov/gitbook-plugin-headers-and-footers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nakov/gitbook-plugin-headers-and-footers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakov%2Fgitbook-plugin-headers-and-footers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakov%2Fgitbook-plugin-headers-and-footers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakov%2Fgitbook-plugin-headers-and-footers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakov%2Fgitbook-plugin-headers-and-footers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakov","download_url":"https://codeload.github.com/nakov/gitbook-plugin-headers-and-footers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakov%2Fgitbook-plugin-headers-and-footers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35045919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:19:35.062Z","updated_at":"2026-07-02T11:33:14.537Z","avatar_url":"https://github.com/nakov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitBook Plugin to Add Headers and Footers\n\nThis plugin allows adding **headers** and **footers** in the book (statically, during the book build process):\n - **Navigation header** (above the search box on the left)\n - **Navigation footer** (replaces the last navigation link \"Published with GitBook\")\n - **Page header** (at the top of the page section)\n - **Page footer** (at the bottom of the page section)\n\nThe plugin is designed for `gitbook cli` toolchain. \n\n## Warning \nTODO: This plugin is **unfinished**! It inserts the header and footer HTML correctly, but the Gitbook runtume JS scripts give console errors. I should investigate how to fix these issues.\n\nTODO: check this plugin: https://www.npmjs.com/package/gitbook-plugin-lotadata-header\n\n## Installation\n\nTODO: upload the plugin to https://npmjs.com.\n\n```\nnpm install gitbook-plugin-headers-and-footers\n```\n\n## Usage\n\nSpecify the HTML templates for the headers and footers in the `book.json` config:\n\n```\n{\n  \"plugins\": [\n    \"headers-and-footers\"\n  ],\n  \"pluginsConfig\": {\n    \"layout\": {\n\t  \"navHeaderFileName\" : \"./assets/nav-header.html\",\n\t  \"navFooterFileName\" : \"./assets/nav-footer.html\",\n\t  \"pageHeaderFileName\" : \"./assets/page-header.html\",\n\t  \"pageFooterFileName\" : \"./assets/page-footer.html\"\n    }\n  }\n}\n```\n\n## Screenshots\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakov%2Fgitbook-plugin-headers-and-footers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakov%2Fgitbook-plugin-headers-and-footers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakov%2Fgitbook-plugin-headers-and-footers/lists"}