Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
refactorian committed Mar 27, 2024
0 parents commit 0cb6960
Show file tree
Hide file tree
Showing 15 changed files with 248 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock

# Others
**/.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/docket"]
path = themes/docket
url = https://github.com/refactorian/docket
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
1 change: 1 addition & 0 deletions assets/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* You can add custom styles here. */
1 change: 1 addition & 0 deletions assets/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* You can override SASS variables here. */
107 changes: 107 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
baseURL: https://refactorian.github.io/docketize/
title: Docket
theme: docket

# Book configuration
disablePathToLower: true
enableGitInfo: true

# Needed for mermaid/katex shortcodes
markup:
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1

# Multi-lingual mode config
# There are different options to translate files
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
languages:
en:
languageName: English
contentDir: content.en
weight: 1

menu:
# before: []
after:
- name: "Github"
url: "https://github.com/refactorian/docketize"
weight: 10
- name: "Docket"
url: "https://github.com/refactorian/docket"
weight: 20

params:
# (Optional, default dark) Sets color theme: light or dark.
BookTheme: "dark"

# (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting.
# You can also specify this parameter per page in front matter.
BookToC: true

# (Optional, default favicon.png) Set the path to a favicon file.
# If the favicon is /static/favicon.png then the path would be favicon.png
# BookFavicon: "favicon.png"

# (Optional, default none) Set the path to a logo for the book.
# If the logo is /static/logo.png then the path would be logo.png
# BookLogo: /logo.png

# (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used
# BookMenuBundle: /menu

# (Optional, default docs) Specify root page to render child pages as menu.
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
# For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
BookSection: docs

# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo: https://github.com/refactorian/docket

# (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
# commit hash for 'doc' page type.
# Requires 'BookRepo' param.
# Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash>
# Github uses 'commit', Bitbucket uses 'commits'
# BookCommitPath: commit

# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.
BookEditPath: edit/main

# Configure the date format used on the pages
# - In git information
# - In blog posts
BookDateFormat: "January 2, 2006"

# (Optional, default true) Enables search function with flexsearch,
# Index is built on fly, therefore it might slowdown your website.
# Configuration for indexing can be adjusted in i18n folder per language.
BookSearch: true

# (Optional, default true) Enables comments template on pages
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
# Theme will print warning if page referenced in markdown does not exists.
BookPortableLinks: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.
BookServiceWorker: true

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
BookTranslatedOnly: false
21 changes: 21 additions & 0 deletions content.en/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Docket
type: docs
---

# Docket

📖 Simple | 🛠️ Functional | ✨ Elegant | 💥 Powerful | 🎨 Stylish | 📱 Responsive

## Features

- **No Initial Setup Required**: Jump right in without any setup hassles.
- **Simple Design with Clean Interface**: Enjoy a clutter-free, easy-to-use design.
- **Mobile-Friendly and Lightweight**: Access your content seamlessly on any device with swift loading times.
- **Multi-Language Support**: Reach a broader audience with support for multiple languages.
- **JavaScript-Free Primary Features**: Experience core functionalities without relying on JavaScript.
- **Customize to Your Preferences**: Tailor your experience with customizable options.
- **Convenient Shortcodes**: Effortlessly enhance your content with handy shortcodes.
- **Engage with Comments**: Interact with your audience through comments.
- **Easy Blogging and Organization**: Manage your blog and categories with simplicity.
- **Switch to Dark Mode**: Optimize your viewing experience with a sleek dark mode.
64 changes: 64 additions & 0 deletions content.en/docs/page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
weight: 1
title: "Page"
type: docs
---

# My Markdown Page

## Introduction

Welcome to my Markdown example page.

### Subsection

This is a subsection within the introduction.

## Text Styling

Markdown allows for easy text styling:

- **Bold Text**: **This text is bold**.
- *Italic Text*: *This text is italic*.
- ~~Strikethrough Text~~: ~~This text is strikethrough~~.
- `Inline Code`: `This is inline code`.

## Lists

Markdown supports both ordered and unordered lists:

### Ordered List

1. First item
2. Second item
3. Third item

### Unordered List

- Apple
- Banana
- Orange

## Links

You can include links and images easily:

### Link

[Docket](https://github.com/refactorian/docket) to learn more.

## Blockquotes

You can quote text using blockquotes:

> Markdown is a lightweight markup language with plain-text formatting syntax.
## Code Blocks

You can include code blocks with syntax highlighting:

```python
def greet(name):
print(f"Hello, {name}!")

greet("World")
7 changes: 7 additions & 0 deletions content.en/posts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
menu:
after:
name: blog
weight: 5
title: Blog
---
22 changes: 22 additions & 0 deletions content.en/posts/demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
+++
title = "Demo Post"
description = ""
tags = [
"tag",
]
date = "2024-01-11"
categories = [
"cat",
]
menu = "main"
+++

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vulputate quam vel magna tincidunt, nec ultricies libero euismod. Nam magna nunc, venenatis et sapien sed, varius pulvinar ipsum. Maecenas elit sem, mattis vitae porttitor a, blandit et ex. Nulla maximus, est at tincidunt ornare, magna nunc sollicitudin ipsum, id pretium odio nisi sit amet arcu. In quis hendrerit lacus. Cras in convallis turpis, eu laoreet neque. Duis a accumsan ligula, id maximus metus. Duis vitae turpis sagittis, accumsan turpis at, sagittis orci. Proin ut malesuada metus. Etiam id sapien sit amet lacus aliquet pretium. Aliquam sit amet risus nibh. Aliquam rutrum ex non euismod sodales. Etiam elementum ex at ligula tempus varius.

Curabitur libero justo, rhoncus quis suscipit a, porta at magna. Aenean pretium mauris non lobortis sollicitudin. Maecenas at dui in ipsum tempus lobortis. In cursus ipsum euismod risus gravida tincidunt. Mauris blandit ex est, vitae tristique magna ornare at. Donec in enim blandit justo varius accumsan. Nunc augue neque, placerat interdum imperdiet eget, convallis ac lorem. Maecenas quis neque tincidunt lacus lobortis blandit. Pellentesque at sollicitudin urna. Sed posuere sem vitae tristique congue. Sed sit amet efficitur ligula.

Curabitur in mauris turpis. Praesent porta, lacus non maximus pharetra, dui eros porttitor diam, mattis scelerisque tortor purus eu neque. Vestibulum nec turpis imperdiet, aliquam justo sit amet, consequat ligula. Ut vel felis nec enim pretium ultrices. Morbi vestibulum lorem justo, nec sagittis sem sollicitudin et. Sed iaculis massa nec arcu ullamcorper tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus ultricies risus at urna ullamcorper porttitor. Praesent malesuada porttitor felis, ut ultricies nisl. Nam ultrices tempor risus eu placerat. Praesent rutrum nunc ut fringilla fringilla. Nam pellentesque nunc sed mauris imperdiet, sit amet posuere velit auctor.

Nunc dignissim leo non lectus volutpat pharetra. Sed porttitor placerat orci. Cras sem neque, accumsan sed euismod eu, consequat sed quam. In pretium libero quis velit semper, non blandit diam suscipit. Maecenas at rhoncus augue. Morbi eu mauris ut quam viverra egestas. Vivamus nec enim tincidunt, semper turpis sit amet, laoreet sapien. In imperdiet, eros id faucibus hendrerit, lorem tellus elementum ipsum, id rutrum diam libero non ante. Nunc ut sem at mi tincidunt maximus.

Quisque viverra nec quam et hendrerit. Quisque hendrerit auctor purus sed scelerisque. Etiam scelerisque, neque non molestie venenatis, lorem libero auctor arcu, eget malesuada nunc sapien pellentesque velit. Sed mattis nisi in tincidunt interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc cursus orci purus, vestibulum eleifend lacus faucibus eget. Integer risus diam, volutpat a lacus et, imperdiet pellentesque risus.
Empty file added data/.gitkeep
Empty file.
Empty file added i18n/.gitkeep
Empty file.
Empty file added layouts/.gitkeep
Empty file.
Empty file added static/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions themes/docket
Submodule docket added at fb5929

0 comments on commit 0cb6960

Please sign in to comment.