{"id":16553558,"url":"https://github.com/roneoorg/hugo-theme-trex","last_synced_at":"2026-04-19T01:05:58.467Z","repository":{"id":114778936,"uuid":"476925757","full_name":"RoneoOrg/hugo-theme-trex","owner":"RoneoOrg","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-02T02:28:47.000Z","size":5080,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T21:01:10.896Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoneoOrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-02T02:28:32.000Z","updated_at":"2022-04-02T02:29:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"87dd9e27-4d01-43c7-961c-56b9e630413f","html_url":"https://github.com/RoneoOrg/hugo-theme-trex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RoneoOrg/hugo-theme-trex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoneoOrg%2Fhugo-theme-trex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoneoOrg%2Fhugo-theme-trex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoneoOrg%2Fhugo-theme-trex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoneoOrg%2Fhugo-theme-trex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoneoOrg","download_url":"https://codeload.github.com/RoneoOrg/hugo-theme-trex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoneoOrg%2Fhugo-theme-trex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31990579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: 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-10-11T19:48:42.394Z","updated_at":"2026-04-19T01:05:58.421Z","avatar_url":"https://github.com/RoneoOrg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hugo TRex Theme\n===============\n\nHi. I'm the hugo TRex starter theme. I'm a theme meant for hacking so try\nturning me into the next awesome TRex website. That's what I'm here for.\n\n\n## Getting Started\n\n1. Download the **trex** theme folder into Hugo theme folder\n\n```\ncd new-site.tracking.exposed/themes\ngit clone https://github.com/tracking-exposed/hugo-theme-trex trex\n```\n\n2. In the `config.toml` file of your new site edit the value `theme=\"trex\"`\n3. Copy sample content from `exampleSite` into the sites `contents` folder\n\n\n## Config File\n\nFor each site modify the `config.toml` to define the following Hugo `[params]`\n\n```\n[params]\n  subtitle = \"\"\n  subsite = \"default\"\n  description = \"\"  \n  tagline = \"\"\n```\n\n- `subtitle` - title of the site as written along side `Tracking Exposed`\n- `subsite` - name-space used in HTML and CSS classes (lowercase + no spaces)\n- `description` - the main `\u003cmeta\u003e` description for the site used for SEO\n- `tagline` - text that is shown in the home page banner above featured\n\n\n## Menus\n\nThere are multipe *\"menus\"* that get re-used in different areas of the site.\nThe following are the three that are **required** for the theme to build.\n\n- `[[menu.main]]` - the links in the `\u003cnavbar\u003e` at the top of pages\n- `[[menu.featured]]` - featured boxes on home page of each site (max 3)\n    * `pre` - value for background image path\n    * `post` - value for description text\n- `[[menu.footer]]` - special per site links in `\u003cfooter\u003e` of pages\n\n``` \n[menu] \n  [[menu.main]]\n     page = \"Help\"\n     identifier = \"help\"\n     name = \"Help\"\n     url = \"/help/\"\n     weight = -150\n  \n  [[menu.featured]]\n     page = \"Facebook\"\n     identifier = \"facebook\"\n     name = \"Facebook\"\n     pre = \"path-to-images\" #backgrodund image path\n     post = \"comment text\" #add a description text\n     url = \"https://facebook.tracking.exposed\"\n     weight = -180\n\n  [[menu.footer]]\n      page = \"Help\"\n      identifier = \"help\"\n      name = \"Help\"\n      url = \"/help/\"\n      weight = -150\n```\n\nExtra menus can be added as needed such as in `tracking.exposed/config.toml`\n\n## Frontmatter parameters\n\nInto the Frontmatter of `.md` files, you can define this parameters:\n\n- title: \"The page h1\"\n- subtitle: \"The page h2\"\n- description: \"The page's metadata description\"\n- date: 2019-02-07T15:01:21+01:00\n- draft: false\n\n\n## SASS Architecture\n\nThe following files are how the SASS that is compiled into CSS are organized.\nThe theme is built on top of using [Bootstrap 4](https://getbootstrap.com)\nframework.\n\n- `assets/_bootstrap_customization.scss` - proper extensions of various Bootstrap classes\n- `assets/_components.scss` - specific custom classes for areas of sites for apps (Reality Check, Zuckless News)\n- `assets/_mixins.scss` - reusable SASS mixins that extend or customize Boostrap styles or custom things\n- `assets/_variables.scss` - used throughout all SASS files\n- `assets/main.scss` - main file which has global `body.subsite` class and other custom things\n\n\n## Shortcode\n\n### Extension shortcodes\nYou can have links to different browser extension anywhere you may want via shortcode, just call the following in your `.md` file (i.e. into the _index.md):\n\n- **Youtube extension**: `{{\u003c yt-extension \u003e}}`\n- **FaceBook extension**: `{{\u003c fb-extension \u003e}}`\n\n### Typography shortcodes\n\n#### Colored text block\n\n- {{\u003c boxes text=\"Your text\" \u003e}} *Primary color as background*\n- {{\u003c boxes color=\"secondary\" text=\"Your text\" \u003e}} *Secondary color as background*\n- {{\u003c boxes color=\"red\" text=\"Your text\" \u003e}} *Red color as background*\n- {{\u003c boxes color=\"yellow\" text=\"Your text\" \u003e}} *Yellow color as background*\n\n#### Images\n**Images alignment**\n\n- {{\u003c figure src=\"image-url\" alt=\"\" class=\"align-right\"\u003e}} `class=\"align-right\"` \n- {{\u003c figure src=\"image-url\" alt=\"\" class=\"align-left\"\u003e}} `class=\"align-left\"`\n- {{\u003c figure src=\"image-url\" alt=\"\" class=\"align-center\"\u003e}} `class=\"align-center\"`\n\n**Images sizes**\n\n- {{\u003c figure src=\"image-url\" alt=\"\" class=\"full\" \u003e}} `class=\"full\"` *100% of the page*\n- {{\u003c figure src=\"image-url\" alt=\"\" class=\"half\" \u003e}} `class=\"half\"` *50% of the page*\n\n\n\n## Updating Theme\n\nAs the theme is updated and developed in the future, for instance once a new\ncolor scheme (for a subsite) is created, do the following steps\n\n```\ncd new-site.tracking.exposed/theses/trex\ngit pull origin master\n```\n\nThen `hugo build` and voila the theme is updated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froneoorg%2Fhugo-theme-trex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froneoorg%2Fhugo-theme-trex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froneoorg%2Fhugo-theme-trex/lists"}