Skip to content

Commit

Permalink
1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Apr 28, 2024
1 parent 27c3956 commit 1514bf3
Show file tree
Hide file tree
Showing 27 changed files with 825 additions and 396 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/dist
static/buffer/
static/public/
static/themes/
static/.env
.vscode

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "prss",
"version": "1.10.0",
"version": "1.11.0",
"description": "Powerful Blogging",
"license": "GPL-3.0-or-later",
"main": "build/index.js",
Expand Down
20 changes: 18 additions & 2 deletions src/common/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ export interface ISite {
menus: ISiteMenus;
}

export type IManifestSiteVarsType = "string" | "image" | "url";

export interface IThemeManifest {
name: string;
title: string;
version: string;
author: string;
homepage: string;
license: string;
type: string;
parser: string;
templates: string[];
siteVars: { type: IManifestSiteVarsType, description: string }[];
isLocal?: boolean;
}

export interface IConfigThemes {
[key: string]: string;
}
Expand Down Expand Up @@ -77,7 +93,7 @@ export interface ITemplateComponent {
}

export interface ISites {
[name: string]: ISite;
[name: string]: ISite;
}

export interface IPaths {
Expand All @@ -89,7 +105,7 @@ export interface IStore {
}

export interface ISitesInternal {
[name: string]: ISiteInternal;
[name: string]: ISiteInternal;
}

export interface IStoreInternal {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/Addons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Addons: FunctionComponent<IProps> = ({
<div className="right-align"></div>
</h1>
<div className="content">
<Row className="mt-3">
<Row>
<Col>
{prssConfig.available_addons?.map(addon => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/AppSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const AppSettings: FunctionComponent<IProps> = ({ setHeaderLeftComponent }) => {
</div>
</h1>
<div className="content">
<Form className="mt-4">
<Form>
<div className="form-group row">
<div className="input-group input-group-lg">
<label htmlFor="siteConfig" className="col-sm-3 col-form-label">
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/CreatePost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const CreatePost: FunctionComponent<IProps> = ({ setHeaderLeftComponent }) => {
</div>
</h1>
<div className="content">
<form className="mt-4">
<form>
<div className="form-group">
<div className="input-group input-group-lg">
<input
Expand Down
Loading

0 comments on commit 1514bf3

Please sign in to comment.