{"id":18408358,"url":"https://github.com/pingcap/discourse-theme-asktug","last_synced_at":"2026-01-22T18:43:37.275Z","repository":{"id":46057397,"uuid":"255797441","full_name":"pingcap/discourse-theme-asktug","owner":"pingcap","description":"A discourse theme used in AskTUG.","archived":false,"fork":false,"pushed_at":"2024-03-27T09:22:30.000Z","size":53,"stargazers_count":2,"open_issues_count":1,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T22:05:31.901Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://asktug.com","language":"HTML","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/pingcap.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":"2020-04-15T03:44:26.000Z","updated_at":"2023-05-07T11:25:36.000Z","dependencies_parsed_at":"2024-11-06T03:20:24.553Z","dependency_job_id":"9e116127-00f9-4a26-93d8-d92de1ea36a6","html_url":"https://github.com/pingcap/discourse-theme-asktug","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pingcap/discourse-theme-asktug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fdiscourse-theme-asktug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fdiscourse-theme-asktug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fdiscourse-theme-asktug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fdiscourse-theme-asktug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingcap","download_url":"https://codeload.github.com/pingcap/discourse-theme-asktug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fdiscourse-theme-asktug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28668276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-06T03:18:44.393Z","updated_at":"2026-01-22T18:43:37.261Z","avatar_url":"https://github.com/pingcap.png","language":"HTML","readme":"# discourse-theme-asktug\n\nA discourse theme used in AskTUG.\n\n## Before start\n\nIt's recommended to read [https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648) before you start to develop a discourse theme.\n\nThis is the best guide I have ever seen.\n\n## How to preview the changes\n\nSee https://meta.discourse.org/t/install-the-discourse-theme-cli-console-app-to-help-you-build-themes/82950\n\n## Theme features\n\n### Custom header\n\nThis feature is checked by default.\n\nIf you want to disable this feature, please uncheck the `custom_header_items`.\n\nThis feature allows you to define both of the first level menu and second level menu before the header-buttons (top-right buttons). The rules are:\n\n- if you only want a first level menu, just modify the `header items`. for example, if you want to add a new item, just write `name;href`, split by `;`.\n\n- if you want a second level menu, you must let the first level menu item be a single `name` or `name;href`. Then, at the same position of the `subheader items`, write you dropdown items. For example, you can write as `name1;href1,name2;href2`, same as first level menu but just need to remember use `,` to split the items.\n\n- if you want a third level menu, you need to add new items in `third level items`. The format is:\n\n  `header_index-subheader_index,name;href`\n\n  For example, `1-1,Baidu;https://baidu.com` will treat the first subheader item under the first header item as a dropdown.\n\n- Use `#...` as a placeholder when a first level menu item is between two second level menu items. Start by `#`, end with any characters.\n\nYou can view the example in `settings.yaml`.\n\n### Show Create Topic Button when not logged in\n\nAs the title.\n\nThis feature still has a configuration item named `check_is_login_*`. When you click the Create Topic Button but are not logged in, It will open a modal box to prompt you to log in.\n\n## How to contribute\n\nOpen an issue or pull a request to describe your problems or changes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fdiscourse-theme-asktug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingcap%2Fdiscourse-theme-asktug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fdiscourse-theme-asktug/lists"}