Skip to content

Commit

Permalink
use default style when no style is specified (spp-template)
Browse files Browse the repository at this point in the history
  • Loading branch information
KDesp73 committed Jun 27, 2024
1 parent 4f7ec8f commit d3dfbb2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/examples/template-spp.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This template creates a Single Page Portfolio including the following sections:
3. Skills
4. Contact

You can set your own style
You can set your own style (check [spp-style.css](../../style/spp-style.css) for classnames)

```c
#include "webc-actions.h"
Expand Down
2 changes: 1 addition & 1 deletion src/templates/spp/spp.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ char* WEBC_SinglePagePortfolioTemplate(SinglePagePortfolio portfolio)
if(portfolio.style_path != NULL)
WEBC_IntegrateFile(&buffer, portfolio.style_path);
else
WEBC_IntegrateFile(&buffer, "");
WEBC_IntegrateFile(&buffer, "https://raw.githubusercontent.com/KDesp73/webc/main/style/spp-style.css");
WEBC_StyleEnd(&buffer);

WEBC_BodyStart(&buffer);
Expand Down
1 change: 0 additions & 1 deletion todo.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
TODO: backend framework in C
TODO: UI library (Thanasis)
TODO: Project website using the project itself
TODO: implement all elements with modifier
TODO: fix server issues
TODO: put logging on a seperate thread
TODO: markdown renderer
Expand Down

0 comments on commit d3dfbb2

Please sign in to comment.