From 853f03e3e3f93a85a60ab5a2493022a83841aadc Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Sat, 4 Sep 2021 16:46:09 +0200 Subject: [PATCH] First rough draft --- config/_default/menus.toml | 19 ++----------- config/_default/params.toml | 44 ++++------------------------ layouts/index.html | 57 +++++++++++++++++++++---------------- package-lock.json | 1 + 4 files changed, 42 insertions(+), 79 deletions(-) diff --git a/config/_default/menus.toml b/config/_default/menus.toml index 7ed4bca..575c1a1 100644 --- a/config/_default/menus.toml +++ b/config/_default/menus.toml @@ -2,17 +2,17 @@ name = "Prologue" weight = 10 identifier = "prologue" - url = "/docs/prologue/" + url = "https://docs.invidious.io/" [[docs]] name = "Help" weight = 60 identifier = "help" - url = "/docs/help/" + url = "https://docs.invidious.io/" [[main]] name = "Docs" - url = "/docs/prologue/introduction/" + url = "https://docs.invidious.io/" weight = 10 [[main]] @@ -20,19 +20,6 @@ url = "/blog/" weight = 20 -[[social]] - name = "Twitter" - pre = "" - url = "https://twitter.com/getdoks" - weight = 10 - -[[social]] - name = "GitHub" - pre = "" - url = "https://github.com/h-enk/doks" - post = "v0.1.0" - weight = 20 - # [[footer]] # name = "Privacy" # url = "/privacy-policy/" diff --git a/config/_default/params.toml b/config/_default/params.toml index 9601055..f926279 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,40 +1,10 @@ # Meta Data for SEO ## Homepage -title = "Doks" +title = "Invidious" titleSeparator = "-" -titleAddition = "Modern Documentation Theme" -description = "Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." - -## Open Graph -images = ["doks.png"] -ogLocale = "en_US" -domainTLD = "doks.netlify.app" -titleHome = "Doks Theme" - -## Twitter Cards -twitterSite = "@getdoks" -twitterCreator = "@henkverlinde" - -## JSON-LD -# schemaType = "Person" -schemaType = "Organization" -schemaName = "Doks" -schemaAuthor = "Henk Verlinde" -schemaAuthorTwitter = "https://twitter.com/henkverlinde" -schemaAuthorLinkedIn = "https://www.linkedin.com/in/henkverlinde/" -schemaAuthorGitHub = "https://github.com/h-enk" -schemaLocale = "en-US" -schemaLogo = "logo-doks.png" -schemaLogoWidth = 512 -schemaLogoHeight = 512 -schemaImage = "doks.png" -schemaImageWidth = 1280 -schemaImageHeight = 640 -schemaTwitter = "https://twitter.com/getdoks" -schemaLinkedIn = "" -schemaGitHub = "https://github.com/h-enk/doks" -schemaSection = "blog" +titleAddition = "An open source alternative front-end to YouTube" +description = "Invidious is an open source alternative front-end to YouTube " ## Sitelinks Search Box siteLinksSearchBox = false @@ -50,15 +20,11 @@ portraitPhotoWidths = [800, 700, 600, 500] lqipWidth = "20x" # Footer -footer = "Powered by Netlify, Hugo, and Doks" +footer = "Powered by Hugo, and Doks" copyRight = "Copyright (c) 2020-2021 Henk Verlinde" -# Alert -alert = false -alertText = "Like Doks? Star on GitHub. Thanks!" - # Edit Page -docsRepo = "https://github.com/h-enk/doks" +docsRepo = "https://github.com/iv-org/invidious.io" editPage = false [options] diff --git a/layouts/index.html b/layouts/index.html index bf38232..bbb5c58 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,12 +2,13 @@
-

{{ .Title }}

+

Invidious

-

{{ .Params.lead | safeHTML }}

- Get started -

Open-source MIT Licensed. GitHub v{{ $data := getJSON "https://raw.githubusercontent.com/h-enk/doks/master/package.json" }}{{ $data.version }}

+

Invidious is an alternative front-end to YouTube

+ Using Invidious + Hosting Invidious +

Open-source AGPL-V3 Licensed. GitHub

@@ -18,30 +19,38 @@
-

Security aware

-

Get A+ scores on Mozilla Observatory out of the box. Easily change the default Security Headers to suit your needs.

+

Data import/export

+

+

  • Import subscriptions from YouTube, NewPipe and Freetube +
  • Import watch history from NewPipe +
  • Export subscriptions to NewPipe and Freetube +
  • Import/Export Invidious user data +

  • -

    Fast by default ⚡️

    -

    Get 100 scores on Google Lighthouse by default. Doks removes unused css, prefetches links, and lazy loads images.

    +

    User features

    +

    +

  • Lightweight +
  • No ads +
  • No tracking +
  • No JavaScript required +
  • Light/Dark themes +
  • Customizable homepage +
  • Subscriptions independant from Google +
  • Notifications for all subscribed channels +
  • Audio-only mode (with background play on mobile) +
  • Support for Reddit comments +
  • Available in many languages, thanks to our translators +

  • -

    SEO-ready

    -

    Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.

    -
    -
    -
    -
    -

    Full text search

    -

    Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.

    -
    -
    -

    Page layouts

    -

    Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.

    -
    -
    -

    Dark mode

    -

    Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.

    +

    Technical features

    +

    +

  • Embedded video support +
  • Developer API +
  • Does not use official YouTube APIs +
  • No Contributor License Agreement (CLA) +

  • diff --git a/package-lock.json b/package-lock.json index 649aeba..e839e2f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "doks-child-theme", "version": "0.3.3", "hasInstallScript": true, "license": "MIT",