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
}
Template
;
59
60
WEBCAPI
void
WEBC_TemplateFooter(
char
** buffer, Cstr author,
size_t
year);
61
WEBCAPI
void
WEBC_TemplateContact(
char
** buffer, Cstr email, Cstr github_username);
62
WEBCAPI
void
WEBC_TemplateSection(
char
** buffer, Cstr title);
63
WEBCAPI
void
WEBC_TemplateSidebar(
char
** buffer,
Template
portfolio, BlockContents links);
64
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
// WEBC_TEMPLATE_H
71
Project
Definition
template.h:40
Template
Definition
template.h:50
webc-core.h
include
webc-templates
template.h
Generated on Mon Aug 5 2024 21:00:57 for webc by
1.11.0