diff --git a/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_battery_charging.md b/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_battery_charging.md index a2ce87b5..8f455873 100644 --- a/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_battery_charging.md +++ b/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_battery_charging.md @@ -11,7 +11,9 @@ menu: {{< figure src="/documentation/images/PPP_Abdroid_Test_Utility-1.jpg" width="300" >}} +{{< admonition type="note" >}} Please note that this Android build solely for PinePhone Pro hardware checking purpose and solely used by support team. This is NOT a general release build. +{{< /admonition >}} Download: diff --git a/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_hardware_checking.md b/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_hardware_checking.md index 6d0a73f8..1421af18 100644 --- a/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_hardware_checking.md +++ b/content/documentation/PinePhone_Pro/Factory_tests/Factory_test_hardware_checking.md @@ -1,3 +1,4 @@ + --- title: "Hardware checking" draft: false @@ -11,7 +12,9 @@ menu: {{< figure src="/documentation/images/PPP_Abdroid_Test_Utility-5.jpg" width="400" >}} -Please note that this Android build solely for PinePhone Pro hardware checking purpose and solely used by the support team. This is NOT a general release build. +{{< admonition type="note" >}} +Please note that this Android build solely for PinePhone Pro hardware checking purpose and solely used by the support team. This is not a general release build. +{{< /admonition >}} Download: @@ -21,7 +24,7 @@ Instructions: * Download the build, extract the image and dd it to a 8 GB or larger microSD card, take out the PinePhone Pro Explorer Edition, then insert it into microSD slot (upper slot). * Insert battery, press the RE button (bypass SPI and eMMC boot) underneath the back cover while plugging in the USB-C power. After 3 seconds release the RE button. -* When powering up, a battery icon screen will show up blow, press power key for two seconds, then the Rockchip logo screen shows up. +* When powering up, a battery icon screen will show up. Press the power key for two seconds, then the Rockchip logo screen shows up. {{< figure src="/documentation/images/PPP_Abdroid_Test_Utility-1.jpg" width="300" >}} diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 00000000..cb4f2956 --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,118 @@ +site_url: https://pine64.org +publish_mode: editorial_workflow + +backend: + name: github + repo: pine64/website + branch: main + site_domain: pine64.org + +media_folder: "static/images/uploads" # Adjust based on your media storage location +public_folder: "/images/uploads" # URL path for accessing media +logo_url: "https://pine64.org/img/logo.png" + +collections: + - name: "blog" # This is the name used in the URL + label: "Blog" # This is the singular name of the content type for the UI + label_singular: "Blog post" + folder: "content/blog" # The folder where your posts markdown files will be saved + create: true # Allows users to create new documents in this collection + slug: "{{slug}}" # Filename template for new posts + preview_path: "{{year}}/{{month}}/{{day}}/{{slug}}/" + preview: false + fields: # List of fields for the front matter + - { label: "Title", name: "title", widget: "string" } + - { label: "Description", name: "description", widget: "text" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Image", name: "images", widget: "image", required: false } + #- { label: "Hidden", name: "hidden", widget: "boolean", default: false } + #- { label: "Comments", name: "comments", widget: "boolean", default: true } + - { label: "Draft", name: "draft", widget: "boolean", default: false } + #- { label: "Weight", name: "weight", widget: "number" } + - { label: "Body", name: "body", widget: "markdown" } + - name: authors + label: Authors + label_singular: 'Author' + widget: list + fields: + - { label: 'Name', name: 'name', widget: 'string', hint: 'First and Last' } + - { label: 'Description', name: 'description', widget: 'markdown' } + + - name: "community" # This is the name used in the URL + label: "Community" # This is the singular name of the content type for the UI + label_singular: "Community" + folder: "content/community" # The folder where your posts markdown files will be saved + create: true # Allows users to create new documents in this collection + slug: "{{slug}}" # Filename template for new posts + preview: false + fields: # List of fields for the front matter + - { label: "Title", name: "title", widget: "string" } + - { label: "Description", name: "description", widget: "text" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Image", name: "images", widget: "image", required: false } + - { label: "Draft", name: "draft", widget: "boolean", default: false } + - { label: "Body", name: "body", widget: "markdown" } + + - name: "contests" # This is the name used in the URL + label: "Contests" # This is the singular name of the content type for the UI + label_singular: "Contest" + folder: "content/contests" # The folder where your posts markdown files will be saved + create: true # Allows users to create new documents in this collection + slug: "{{slug}}" # Filename template for new posts + preview: false + fields: # List of fields for the front matter + - { label: "Title", name: "title", widget: "string" } + - { label: "Description", name: "description", widget: "text" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Image", name: "images", widget: "image", required: false } + - { label: "Draft", name: "draft", widget: "boolean", default: false } + - { label: "Body", name: "body", widget: "markdown" } + + - name: "devices" # This is the name used in the URL + label: "Devices" # This is the singular name of the content type for the UI + label_singular: "Device" + folder: "content/devices" # The folder where your posts markdown files will be saved + create: true # Allows users to create new documents in this collection + slug: "{{slug}}" # Filename template for new posts + preview: false + fields: # List of fields for the front matter + - { label: "Title", name: "title", widget: "string" } + - { label: "Description", name: "description", widget: "text" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Image", name: "images", widget: "image", required: false } + - { label: "Draft", name: "draft", widget: "boolean", default: false } + - { label: "Body", name: "body", widget: "markdown" } + + # - name: "documentation" # This is the name used in the URL + # label: "Documentation" # This is the singular name of the content type for the UI + # label_singular: "Documentation" + # folder: "content/documentation/Clusterboard" # The folder where your posts markdown files will be saved + # create: true # Allows users to create new documents in this collection + # slug: "{{slug}}" # Filename template for new posts + # preview: false + # nested: + # depth: 4 # max depth to show in the collection tree + # summary: '{{dirname}}' # optional summary for a tree node, defaults to the inferred title field + # fields: # List of fields for the front matter + # - label: Title + # name: title + # widget: string + # - label: Body + # name: body + # widget: markdown + # meta: { path: { widget: string, label: 'Path', index_file: '_index' } } + + - name: "podcast" # This is the name used in the URL + label: "Podcast" # This is the singular name of the content type for the UI + label_singular: "Podcast" + folder: "content/podcast" # The folder where your posts markdown files will be saved + create: true # Allows users to create new documents in this collection + slug: "{{slug}}" # Filename template for new posts + preview: false + fields: # List of fields for the front matter + - { label: "Title", name: "title", widget: "string" } + - { label: "Description", name: "description", widget: "text" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Image", name: "images", widget: "image", required: false } + - { label: "Draft", name: "draft", widget: "boolean", default: false } + - { label: "Body", name: "body", widget: "markdown" } \ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html new file mode 100644 index 00000000..2e69671e --- /dev/null +++ b/static/admin/index.html @@ -0,0 +1,86 @@ + + +
+ + + ++ + {{ printf "Estimated reading time: %d minutes" .ReadingTime }} ({{ .WordCount }} words) + +
+ {{ if .Params.tags }}