webc
v0.0.11
Write and deploy websites using the C Programming Language.
Loading...
Searching...
No Matches
template.h
Go to the documentation of this file.
1
32
#ifndef WEBC_TEMPLATE_H
33
#define WEBC_TEMPLATE_H
34
#include "
../webc-core.h
"
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
typedef
struct
{
41
Cstr name;
42
Cstr link;
43
Cstr lang;
44
Cstr license;
45
Cstr version;
46
Cstr desc;
47
Cstr image;
48
}
Project
;
49
50
typedef
struct
{
51
Cstr title;
52
Cstr author;
53
Cstr about;
54
Cstr email;
55
Cstr github_username;
56
int
year;
57
Cstr style_path;
58
Cstr lang;
59
}
Template
;
60
61
WEBCAPI
void
WEBC_TemplateFooter(
char
** buffer, Cstr author,
size_t
year);
62
WEBCAPI
void
WEBC_TemplateContact(
char
** buffer, Cstr email, Cstr github_username);
63
WEBCAPI
void
WEBC_TemplateSection(
char
** buffer, Cstr title);
64
WEBCAPI
void
WEBC_TemplateSidebar(
char
** buffer,
Template
portfolio, BlockContents links);
65
66
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
// WEBC_TEMPLATE_H
72
Project
Definition
template.h:40
Template
Definition
template.h:50
webc-core.h
include
webc-templates
template.h
Generated on Tue Oct 22 2024 21:08:31 for webc by
1.12.0