Skip to content

Commit

Permalink
Merge pull request #172 from sebastienrousseau/feat/ssg
Browse files Browse the repository at this point in the history
feat(ssg): ✨ 0.0.23
  • Loading branch information
sebastienrousseau authored Jan 16, 2024
2 parents 329f82b + 782051b commit f3d005d
Show file tree
Hide file tree
Showing 47 changed files with 248 additions and 176 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name = "ssg"
readme = "README.md"
repository = "https://github.com/sebastienrousseau/shokunin"
rust-version = "1.71.1"
version = "0.0.22"
version = "0.0.23"
include = [
"/CONTRIBUTING.md",
"/LICENSE-APACHE",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ To use the Shokunin Static Site Generator (SSG) library in your project, add the

```toml
[dependencies]
shokunin = "0.0.22"
shokunin = "0.0.23"
```

Add the following to your `main.rs` file:
Expand Down Expand Up @@ -282,6 +282,6 @@ A special thank you goes to the [Rust Reddit][13] community for providing a lot
[crates-badge]: https://img.shields.io/crates/v/ssg.svg?style=for-the-badge 'Crates.io badge'
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
[docs-badge]: https://img.shields.io/docsrs/ssg.svg?style=for-the-badge 'Docs.rs badge'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.22-orange.svg?style=for-the-badge 'Lib.rs badge'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.23-orange.svg?style=for-the-badge 'Lib.rs badge'
[license-badge]: https://img.shields.io/crates/l/ssg.svg?style=for-the-badge 'License badge'
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust badge'
4 changes: 2 additions & 2 deletions TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<!-- markdownlint-enable MD033 MD041 -->

# Shokunin Static Site Generator (SSG) v0.0.22 🦀
# Shokunin Static Site Generator (SSG) v0.0.23 🦀

The fastest Rust-based Static Site Generator (SSG) for building professional websites and blogs.

Expand Down Expand Up @@ -70,7 +70,7 @@ Shokunin Static Site Generator (SSG) feature highlights include:
[crates-badge]: https://img.shields.io/crates/v/ssg.svg?style=for-the-badge 'Crates.io badge'
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
[docs-badge]: https://img.shields.io/docsrs/ssg.svg?style=for-the-badge 'Docs.rs badge'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.22-orange.svg?style=for-the-badge 'Lib.rs badge'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.23-orange.svg?style=for-the-badge 'Lib.rs badge'
[license-badge]: https://img.shields.io/crates/l/ssg.svg?style=for-the-badge 'License badge'
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust badge'

Expand Down
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! This crate is responsible for benchmarking various components of the application.
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_file.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_frontmatter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_html.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_json.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_metatags.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_utilities.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

extern crate criterion;
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! This is the main function for the build script.
Expand Down
46 changes: 44 additions & 2 deletions content/post.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,57 @@ site_software: "Shokunin, Rust" ## The software of the site.

---

![Nature shinning][00].class=\"img-fluid clearfix\"
![Nature shinning][00].class=\"img-fluid w-50 clearfix\"

![][00].class=\"img-fluid w-50 clearfix\"

## Starter Templates

All the starter templates, whether pages or websites are built from scratch
using the same principles and features. This means that you can easily mix and
match them together to create your own custom layouts and content.

### Pages

Get started with Shokunin using any of our Starter Templates for building
your website or web application.
your website or web application. Our templates are designed to be flexible and easy to modify.

#### Template Features

- **Responsive Design**: All templates are fully responsive, ensuring they look great on any device.
- **Modular Components**: Templates are built with modular components, making them easy to customize.
- **Modern Aesthetics**: Each template is crafted with modern design trends in mind.

#### Getting Started

To get started, select a template that suits your project's needs. Customize it with your content, style, and functionality.

1. **Choose a Template**: Browse through our collection and pick a starting point.
2. **Customize**: Modify the layout, add your content, and tweak the styles.
3. **Launch**: Deploy your new website or web app to the world.

### Websites

Building a website from scratch can be a daunting task, but our starter templates make it simple and straightforward.

#### Why Use Our Templates?

- **Speed**: Jumpstart your development with pre-made designs.
- **Quality**: High-quality, well-tested templates ensure reliability.
- **Support**: Our team is here to help with any questions or issues.

### Customization

Customize templates to fit your specific needs. The possibilities are endless!

#### Tips for Customization

- **Understand the Structure**: Familiarize yourself with the template's structure and components.
- **Experiment**: Don't be afraid to experiment with different layouts and styles.
- **Feedback**: Seek feedback on your designs and iterate based on the input.

## Conclusion

With our range of starter templates, you have a solid foundation to build something unique and tailored to your specific requirements. Dive in and start creating!

[00]: https://kura.pro/stock/images/banners/johannes-plenio-6XUA5KQ9-1k.webp
2 changes: 1 addition & 1 deletion examples/example.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! This is a main function for a simple static site generator (ssg) example.
Expand Down
2 changes: 1 addition & 1 deletion src/compiler.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

use rlg::LogLevel::ERROR;
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Shokunin Static Site Generator (SSG)
Expand All @@ -10,7 +10,7 @@
//! *Part of the [Mini Functions][0] family of Rust libraries.*
//!
//! [![Crates.io](https://img.shields.io/crates/v/ssg.svg?style=for-the-badge&color=success&labelColor=27A006)](https://crates.io/crates/ssg "Crates.io")
//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.0.22-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/ssg "Lib.rs")
//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.0.23-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/ssg "Lib.rs")
//! [![License](https://img.shields.io/crates/l/ssg.svg?style=for-the-badge&color=007EC6&labelColor=03589B)](https://opensource.org/license/apache-2-0/ "MIT or Apache License, Version 2.0")
//! [![Rust](https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust)](https://www.rust-lang.org "Rust")
//!
Expand Down Expand Up @@ -66,7 +66,7 @@
//!
//! ```toml
//! [dependencies]
//! shokunin = "0.0.22"
//! shokunin = "0.0.23"
//! ```
//!
//! And in your `main.rs`:
Expand Down
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

/// # `macro_check_directory` Macro
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024-2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! The main function of the program.
Expand Down
2 changes: 1 addition & 1 deletion src/models/data.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

use serde::{Deserialize, Serialize};
Expand Down
2 changes: 1 addition & 1 deletion src/models/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

/// The `data` module contains the structs.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/cname.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

// Import the CnameData model from the `crate::models::data` module.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/frontmatter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2023-2024 Shokunin Static Site Generator. All rights reserved.
// Copyright © 2024 Shokunin Static Site Generator. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

use serde_json::{Map, Value as JsonValue};
Expand Down
Loading

0 comments on commit f3d005d

Please sign in to comment.