My first try/project about getting my websites generated dinamically in C++ and a library. https://git.thepra.dev/thepra/MyWebsitesGenerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
612 B

#pragma once
#include "CTML.h"
#include <list>
#include <string>
#include "Utilities.h"
#include <filesystem>
using namespace CTML;
using namespace std;
class GeneralBuilder : Utilities
{
public:
GeneralBuilder();
~GeneralBuilder();
void BuildThePraSite(Sites site);
void Head(Document &file,
string canonicalURL,
string title,
Levels level = ROOT,
string description = "",
list<string> cssStyles = {""});
void Body(Document &file,
string cPath,
Sites site,
Col color = White,
PageType type = NORMAL);
void WriteToFile(Document doc, string path);
};