From ca6b70feb5c888f03c01f45b25820586e97d67ba Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Tue, 16 Oct 2018 17:14:30 +0700 Subject: Update README.md Added some info about "config.toml" sections and nav menu settings. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b9d68d9..244d0c6 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ In the [`exampleSite`](//github.com/2-REC/hugo-myportfolio-theme/tree/master/exa Copy this file in the root folder of the Hugo site. Strings and values can be changed in order to customize the website. +Settings about the different sections in the homepage as well as the navigation menu can be defined in this file. Details about each parameter and their role can be found in the file itself. -- cgit v1.2.3 From e0eaac8814b200109636430f7f5311e6382dff0d Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 18 Oct 2018 13:09:49 +0700 Subject: Update README.md Added information about sections and what they're based on. --- README.md | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 244d0c6..43f4f2b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ "MyPortfolio Theme" is a portfolio for developers or creatives to showcase their projects. It is based on the [HUGO "Creative" Theme](//github.com/digitalcraftsman/hugo-creative-theme) by [digitalcraftsman](//github.com/digitalcraftsman), itself based on the [original Bootstrap theme](//github.com/IronSummitMedia/startbootstrap-creative) by [David Miller](//github.com/davidtmiller). +Some modifications are based on other themes, which are described further. Noteworthy features of this Hugo theme are: - Responsive portfolio grid with hover effects. @@ -13,6 +14,45 @@ Noteworthy features of this Hugo theme are: ![Hugo MyPortfolio Theme Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/screenshot.png) +## Theme structure and layout + +As in the "Creative" Theme, the theme's homepage holds the different sections. Its layout is a typical vertical single page. + +The structure and layout of the each section is described hereafter. + + +### HOME + +The welcome section, at the top of the homepage. + + +### ABOUT + +The introduction/presentation section. +It is based on the "Biography" section of the ["Academic" theme](//github.com/gcushen/hugo-academic). + + +### SERVICES + +Section presenting the services that can be provided, listed in categories and sub-categories. + + +### SKILLS + +Section typically providing a link to a downloadable resume, as well as listing the different tags and categories that are found in the different projects sections. + + +### PROJECTS + +Section serving as a portfolio, displaying a set of project categories (can be companies, technologies, etc.), linking to individual pages containing projects listing. +It is based on the "Creative" theme "Portfolio" section, but with links to other pages instead of a pop-up window. + + +### CONTACT + +Section providing the contact information. + + ## Installation Inside the folder of your Hugo site run: @@ -44,7 +84,7 @@ Additionally to the configuration file, data files (located in the "data" folder The following paragraphs detail the required data for each of the sections. -### HOME: Set the homepage +### HOME: Set the homepage header The content of the top section of the homepage is fetch from the "home" data file. -- cgit v1.2.3 From 9dcdcf0bc2f45877111d08b2c52b2ac277dcd232 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 18 Oct 2018 13:26:46 +0700 Subject: Update README.md Small fixes --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 43f4f2b..c583775 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # MyPortfolio Theme "MyPortfolio Theme" is a portfolio for developers or creatives to showcase their projects. -It is based on the [HUGO "Creative" Theme](//github.com/digitalcraftsman/hugo-creative-theme) by [digitalcraftsman](//github.com/digitalcraftsman), itself based on the [original Bootstrap theme](//github.com/IronSummitMedia/startbootstrap-creative) by [David Miller](//github.com/davidtmiller). -Some modifications are based on other themes, which are described further. +It is based on the [HUGO "Creative" theme](//github.com/digitalcraftsman/hugo-creative-theme) by [digitalcraftsman](//github.com/digitalcraftsman), itself based on the [original Bootstrap theme](//github.com/IronSummitMedia/startbootstrap-creative) by [David Miller](//github.com/davidtmiller). Noteworthy features of this Hugo theme are: - Responsive portfolio grid with hover effects. @@ -13,10 +12,9 @@ Noteworthy features of this Hugo theme are: ![Hugo MyPortfolio Theme Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/screenshot.png) - ## Theme structure and layout -As in the "Creative" Theme, the theme's homepage holds the different sections. Its layout is a typical vertical single page. +As in the "Creative" theme, the theme's homepage holds the different sections. Its layout is a typical vertical single page. The structure and layout of the each section is described hereafter. @@ -149,6 +147,12 @@ All the parameters except "text" are optional - if not defined, it will not be a (TODO: "text" should be optional) +### PROJECTS: Create a portfolio (or more) + +!!!! TODO !!!! +... + + ### CONTACT: Add contact information The content of the "skills" section of the homepage is fetch from the "skills" data file. @@ -171,12 +175,6 @@ The different parameters that can be used are: All the parameters are optional - if not defined, it will not be added to the page content. -### PROJECTS: Create a portfolio (or more) - -!!!! TODO !!!! -... - - ### Run the website In order to see your site in action, run Hugo's built-in local server. @@ -189,8 +187,8 @@ In the browser, enter [`localhost:1313`](http://localhost:1313) in the address b ## Going further !!!! TODO !!!! -(css override, ...?) -... +- describe css override +- ...? ## Contributing -- cgit v1.2.3 From 8d93b62af670e6c0ea37df64a445b5c6e4be2bae Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 18 Oct 2018 14:51:19 +0700 Subject: Update config.toml Added some info... --- exampleSite/config.toml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5d5ed1a..c5edade 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,7 @@ -# For more information take a look at the "README.md". +# For more information look at "README.md". + +# GLOBAL SITE SETTINGS +# Parameters used by HUGO to configure the site's global settings. baseurl = "https://example.org/" languageCode = "en-us" @@ -8,12 +11,17 @@ theme = "hugo-myportfolio-theme" [params] - # File(s) containing overriden CSS variables (OPTIONAL) + # GENERAL SITE PARAMETERS + # Parameters used by the site at the global level. + + # File(s) containing overriden CSS variables (can have more than 1) (OPTIONAL) custom_css = [ "custom.css" ] # ---------- - # HTML HEAD METADATA + # SITE METADATA + # Parameters used to configure metadata in the HTML "head" section. + [params.meta] # To provide some metadata for search engines (OPTIONAL) author = "" @@ -25,12 +33,14 @@ theme = "hugo-myportfolio-theme" # ---------- # HOMEPAGE + # Define the sections and the order in which they appear (MANDATORY) [params.homepage] sections = [ "home", "about", "services", "skills", "projects", "contact" ] # ---------- - # NAVIGATION MENU (OPTIONAL) + # NAVIGATION MENU + # Define the navigation bar entries and the order in which they appear (OPTIONAL) [params.navigation] # Brand (OPTIONAL - but required if want HOME button) @@ -57,7 +67,7 @@ theme = "hugo-myportfolio-theme" # projects = [ { section = "", label = "" }, ... ] # ! - Values for "sections" in "projects" must be the same as used in "projects.params". # (& must correspond to the section directories) - [params.navigation.links] + [params.navigation.links] about = "ABOUT" services = "SERVICES" skills = "SKILLS" -- cgit v1.2.3 From ca4e16579dc0cd44251fc95aa2eb88b1b7ea4837 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 1 Nov 2018 12:25:27 +0700 Subject: Update README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c583775..55ee71b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Noteworthy features of this Hugo theme are: ## Theme structure and layout -As in the "Creative" theme, the theme's homepage holds the different sections. Its layout is a typical vertical single page. +As in the "Creative" theme, the theme's homepage holds the different sections. Its layout is a typical vertical single page, with a floating navigation bar on top. The structure and layout of the each section is described hereafter. @@ -43,7 +43,7 @@ Section typically providing a link to a downloadable resume, as well as listing ### PROJECTS Section serving as a portfolio, displaying a set of project categories (can be companies, technologies, etc.), linking to individual pages containing projects listing. -It is based on the "Creative" theme "Portfolio" section, but with links to other pages instead of a pop-up window. +It is based on the "Creative" theme "Portfolio" section, but with links to other pages instead of pop-up windows. ### CONTACT @@ -74,7 +74,7 @@ In the [`exampleSite`](//github.com/2-REC/hugo-myportfolio-theme/tree/master/exa Copy this file in the root folder of the Hugo site. Strings and values can be changed in order to customize the website. -Settings about the different sections in the homepage as well as the navigation menu can be defined in this file. +Settings about the different sections in the homepage as well as the navigation menu are defined in this file. Details about each parameter and their role can be found in the file itself. @@ -98,7 +98,7 @@ All the parameters are optional - if not defined, it will not be added to the pa ### ABOUT: Introduce yourself -The content of the "about" section of the homepage is fetch from the "about" data file. +The content of the "ABOUT" section of the homepage is fetch from the "about" data file. The different parameters that can be used are: - "title": The title of the section. Typically "ABOUT" would be used. @@ -111,7 +111,7 @@ All the parameters are optional - if not defined, it will not be added to the pa ### SERVICES: Add your services -The content of the "services" section of the homepage is fetch from the "services" data file. +The content of the "SERVICES" section of the homepage is fetch from the "services" data file. The different parameters that can be used are: - "title": The title of the section. Typically "SERVICES" would be used. @@ -130,7 +130,7 @@ The "services" list parameter must exist and contain at least one element. ### SKILLS: Show your skills -The content of the "skills" section of the homepage is fetch from the "skills" data file. +The content of the "SKILLS" section of the homepage is fetch from the "skills" data file. The different parameters that can be used are: - "title": The title of the section. Typically "SKILLS" would be used. @@ -151,11 +151,12 @@ All the parameters except "text" are optional - if not defined, it will not be a !!!! TODO !!!! ... +- Content: "config.toml" & corresponding "_index.md" file (from section name). ### CONTACT: Add contact information -The content of the "skills" section of the homepage is fetch from the "skills" data file. +The content of the "CONTACT" section of the homepage is fetch from the "contact" data file. The different parameters that can be used are: - "title": The title of the section. Typically "CONTACT" would be used. -- cgit v1.2.3 From 27912c676e5b626f05a369e3dbc68119add0bc8b Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 1 Nov 2018 12:57:34 +0700 Subject: Create TODO.md TODO list. --- TODO.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 TODO.md diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..b074071 --- /dev/null +++ b/TODO.md @@ -0,0 +1,21 @@ +TODO: + +- [ ] Homepage: + - [ ] Set order of sections from order in navigation bar. + => Parse menu and add each section in that order (in same order as defined in config.toml). + +- [ ] "HOME" section: + - [ ] Seems to have a bug with the background in CREATIVE theme: image sometimes not covering the entire screen. + => Set size to minimum between width and height, keeping ratio (=> image cropped) +? => OK or should fix problem? + +- [ ] "PROJECTS" section: + - [ ] Add a vertical scrolling text in the top right corner. + => For scrolling text, look at: + https://www.quackit.com/css/codes/marquees/ + => Need to adapt the layout as in AIRSPACE theme, "Contact" form. + - [ ] Add a link to "TIMELINE" page (once page ceated). + => Look at "NEWSPRINT" theme, "The Library" section for timeline example. + +- [ ] "ASIDE" section: + => Could add optional section. -- cgit v1.2.3 From dccd140a37b1e0ea33904833b7232d706016f27b Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 1 Nov 2018 13:14:05 +0700 Subject: Update README.md - Removed a "TODO" (to be set in "TODO.md"). - Updated links in "Contributing" section. --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 55ee71b..68a37a8 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,6 @@ The different parameters that can be used are: - "icon_pack": The icon package/family (look at icons documentation). All the parameters except "text" are optional - if not defined, it will not be added to the page content. -(TODO: "text" should be optional) ### PROJECTS: Create a portfolio (or more) @@ -194,10 +193,8 @@ In the browser, enter [`localhost:1313`](http://localhost:1313) in the address b ## Contributing -!!!! TODO !!!! -Did you found a bug or got an idea for a new feature? -Feel free to use the [issue tracker](//github.com/...theme.../issues) to let me know. -Or make directly a [pull request](//github.com/...theme.../pulls). +If you have found a bug, or have an idea for a new feature, please feel free to use the [issue tracker](//github.com/2-REC/hugo-myportfolio-theme/issues) to let me know. +You can also make directly a [pull request](//github.com/2-REC/hugo-myportfolio-theme/pulls). Please create a separate branch for your pull request. -- cgit v1.2.3 From 7ad1783725c205309c0009fb0a3cb61cf60cd1ee Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Thu, 1 Nov 2018 13:15:45 +0700 Subject: Added SKILLS" to do. --- TODO.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TODO.md b/TODO.md index b074071..37d9c4a 100644 --- a/TODO.md +++ b/TODO.md @@ -9,6 +9,9 @@ TODO: => Set size to minimum between width and height, keeping ratio (=> image cropped) ? => OK or should fix problem? +- [ ] "SKILLS" section: + - [ ] "text" paramter should be optional. + - [ ] "PROJECTS" section: - [ ] Add a vertical scrolling text in the top right corner. => For scrolling text, look at: -- cgit v1.2.3 From ac54e1b19b9fece09c7e175eeb76746bab4894e6 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Sun, 4 Nov 2018 15:49:04 +0700 Subject: Added info about CSS override. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 68a37a8..4a4f6da 100644 --- a/README.md +++ b/README.md @@ -186,9 +186,14 @@ In the browser, enter [`localhost:1313`](http://localhost:1313) in the address b ## Going further -!!!! TODO !!!! -- describe css override -- ...? +### Customise the appearance - CSS Override + +A set of CSS rules are used to define the appearance of the website. +To make the website look more personal or to make it fit with the colour schemes of your company/brand, some CSS variables can be directly overriden using extra custom files (and thus not requiring to change anything in the code or main CSS file). + +In order to use custom files, simply add the files in the "static/css" directory, and specify their name (with extension) in the "custom_css" array variable in the "config.toml" file. +The CSS variables that can be overriden are listed in the "default.css" file (in "static/css"), where they get their default value from. The provided "custom.css" file can also be used as template file. + ## Contributing -- cgit v1.2.3 From 8e9a526140d5f28043226549f96c3a7fe2fe7e8b Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Sun, 4 Nov 2018 16:08:44 +0700 Subject: Removed customised values --- static/css/custom.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index d156da3..47c68b9 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -59,15 +59,14 @@ --HOME-TITLE-COLOR: var(--GENERAL-FONT-COLOR-3); --HOME-TEXT-COLOR: var(--GENERAL-FONT-COLOR-2); */ - --HOME-TEXT-COLOR: var(--GENERAL-FONT-COLOR-4); /* ABOUT */ /* --ABOUT-IMAGE-BORDER-RADIUS: var(--GENERAL-IMAGE-BORDER-RADIUS); --ABOUT-LINK-COLOR: var(--GENERAL-LINK-COLOR-2); + --ABOUT-LINK-COLOR-ACTIVE: var(--GENERAL-LINK-ACTIVE-COLOR-2); */ - --ABOUT-LINK-COLOR-ACTIVE: var(--GENERAL-FONT-COLOR-3); /* SERVICES */ -- cgit v1.2.3 From 983126af797fa07908229555f21e3fa4c678396b Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Sun, 4 Nov 2018 16:16:12 +0700 Subject: Updated/corrected CSS override info. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a4f6da..d2f414e 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,8 @@ A set of CSS rules are used to define the appearance of the website. To make the website look more personal or to make it fit with the colour schemes of your company/brand, some CSS variables can be directly overriden using extra custom files (and thus not requiring to change anything in the code or main CSS file). In order to use custom files, simply add the files in the "static/css" directory, and specify their name (with extension) in the "custom_css" array variable in the "config.toml" file. -The CSS variables that can be overriden are listed in the "default.css" file (in "static/css"), where they get their default value from. The provided "custom.css" file can also be used as template file. + +The CSS variables that can be overriden are listed in the "custom.css" file (in "static/css"). The file indicates for each variable the default value that will be used. These values are defined either in the "default.css" file, or directly hardcoded in the website's main CSS file ("theme.css") in case they're not defined elsewhere. The provided "custom.css" file can be used as template file, by uncommenting the desired variables. -- cgit v1.2.3 From 12413a80035f95c3dfec84ca3638904f23066422 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 12:54:25 +0700 Subject: Updated Tags --- theme.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.toml b/theme.toml index a500294..f400d94 100644 --- a/theme.toml +++ b/theme.toml @@ -3,7 +3,7 @@ license = "Apache License 2.0" licenselink = "//github.com/2-REC/hugo-myportfolio-theme/blob/master/LICENSE" description = "A portfolio HUGO theme for developers and creatives." homepage = "//github.com/2-REC/hugo-myportfolio-theme" -tags = ["portfolio"] +tags = ["portfolio", "blog", "responsive", "personal", "business", "projects", "bootstrap" ] features = ["responsive", "portfolio", "substitutable strings"] min_version = 0.44 -- cgit v1.2.3 From 8dac3edd02380843ae3d0556def5f819a44975dc Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 13:01:44 +0700 Subject: Updated features --- theme.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme.toml b/theme.toml index f400d94..46c709a 100644 --- a/theme.toml +++ b/theme.toml @@ -3,8 +3,8 @@ license = "Apache License 2.0" licenselink = "//github.com/2-REC/hugo-myportfolio-theme/blob/master/LICENSE" description = "A portfolio HUGO theme for developers and creatives." homepage = "//github.com/2-REC/hugo-myportfolio-theme" -tags = ["portfolio", "blog", "responsive", "personal", "business", "projects", "bootstrap" ] -features = ["responsive", "portfolio", "substitutable strings"] +tags = ["portfolio", "blog", "responsive", "personal", "business", "projects", "bootstrap"] +features = ["blog", "responsive", "dynamic content", "substitutable strings"] min_version = 0.44 [author] -- cgit v1.2.3 From a9f7e9bf814206c9919def0fd695054d2cd7cab7 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 13:10:40 +0700 Subject: Updated main features. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2f414e..967cfd4 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,15 @@ It is based on the [HUGO "Creative" theme](//github.com/digitalcraftsman/hugo-creative-theme) by [digitalcraftsman](//github.com/digitalcraftsman), itself based on the [original Bootstrap theme](//github.com/IronSummitMedia/startbootstrap-creative) by [David Miller](//github.com/davidtmiller). Noteworthy features of this Hugo theme are: -- Responsive portfolio grid with hover effects. -- Possibility to have more than one content sections. +- Configurable home page (sections order and presence, as well as content). +- Possibility to have arbitrary number of content sections. +- Responsive portfolio grids with hover effects. +- Can be used as a profesional showcase, a personal one, or both. - Dynamic generation of pages based on data content. +- Easy site navigation via header navigation bar. +- Easy content navigation via sidebars, and taxinomies (tags and categories). - Customisable CSS to override default values (such as main theme colours, fonts, etc.). +- 404 page. - ... ![Hugo MyPortfolio Theme Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/screenshot.png) -- cgit v1.2.3 From d96fd6f2cdec2e9c5032528a8d06b6cd7afc841e Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 13:12:29 +0700 Subject: Update TODO.md --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 37d9c4a..6bfe58b 100644 --- a/TODO.md +++ b/TODO.md @@ -10,7 +10,7 @@ TODO: ? => OK or should fix problem? - [ ] "SKILLS" section: - - [ ] "text" paramter should be optional. + - [ ] "text" parameter should be optional. - [ ] "PROJECTS" section: - [ ] Add a vertical scrolling text in the top right corner. -- cgit v1.2.3 From 0266c006c7b25b0ec8eed2a2b37bbe50c5e48357 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 13:39:39 +0700 Subject: Added publish things to do. --- TODO.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 6bfe58b..aa57047 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ -TODO: +TODO - CODE: - [ ] Homepage: - [ ] Set order of sections from order in navigation bar. @@ -22,3 +22,42 @@ TODO: - [ ] "ASIDE" section: => Could add optional section. + + +======== + +TODO - PUBLISH: + +Look at: +gohugo.io/contribute/themes + +- [ ] check all URLs, & use RELATIVE everywhere (see "relURL") + +- [x] check if ".Hugo.Generator" is included somewhere + +- [ ] create new theme with: "hugo new theme " + - [ ] check if we have .gitignore in "exampleSite" with "/public" & "/themes" + - [ ] copy all files in new directory => then see what needs to be committed additionally + +- [ ] test theme + => "hugoBasicExample" + https://github.com/gohugoio/hugoBasicExample + (or include "exampleSite") + +- [x] finish "theme.toml" with all required metadata (add tags!) + => check others on "gohugo.io/contribute/themes" + +- [ ] finish README.md + => look at "Hugo Artists Theme" for ideas + - [ ] find and finish "projects" stuff + - [ ] add examples? + - [ ] add more screenshots? + - [x] add features (404 page, custom css, ...)! + +- [ ] finish "config.toml" + +- [ ] check/clean code => could be done later ... + +- [x] add screenshot (1500x1000) & tn (900x600), PNG + +- [ ] add theme to "HugoThemes" github => open issue & add link -- cgit v1.2.3 From ab67468565275cbc281271525cc25420e57c803d Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 14:14:19 +0700 Subject: Added "order" info. --- exampleSite/config.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c5edade..9fbbf09 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -85,6 +85,21 @@ theme = "hugo-myportfolio-theme" # (& must correspond to the section directories) categories = [ "pro", "perso" ] + # Post orders: + # - list of posts: + # - default: date. + # - common to all, defined globally here. + # - can be overriden at page level (in "_index.md"). + # - list of brothers: + # - default: from parent (if no parent => title). + # - list: parent.sections_order + # - single: parent.posts_order + # - list of sections: + # - default: title. + # - common to all, efined globally here. + # - can be overriden at page level + # - list: in "_index.md" + # - single: in "index.md" (or "post.md" if post is not a bundle) # Required as default values. sections_order = "title" sections_order_reverse = false -- cgit v1.2.3 From da4831547dba88e01b018a279102c3abf2fb3d4b Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 16:57:45 +0700 Subject: Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 967cfd4..1e46728 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,8 @@ All the parameters except "text" are optional - if not defined, it will not be a !!!! TODO !!!! ... +=> List of companies/categories, linking to individual pages with projects listing. +- Based on CREATIVE theme, "Portfolio", but with links to other pages. - Content: "config.toml" & corresponding "_index.md" file (from section name). -- cgit v1.2.3 From 4b9bb09fcec31595f73361496273e032ec015c3d Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 17:42:19 +0700 Subject: Update TODO.md --- TODO.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/TODO.md b/TODO.md index aa57047..321e18f 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,7 @@ TODO - CODE: +- [ ] Check/clean the entire code ... + - [ ] Homepage: - [ ] Set order of sections from order in navigation bar. => Parse menu and add each section in that order (in same order as defined in config.toml). @@ -23,6 +25,8 @@ TODO - CODE: - [ ] "ASIDE" section: => Could add optional section. +- [ ] add Google Analytics: + googleAnalytics = "..." ======== @@ -31,18 +35,14 @@ TODO - PUBLISH: Look at: gohugo.io/contribute/themes -- [ ] check all URLs, & use RELATIVE everywhere (see "relURL") +- [x] check all URLs, & use RELATIVE everywhere (see "relURL") - [x] check if ".Hugo.Generator" is included somewhere -- [ ] create new theme with: "hugo new theme " - - [ ] check if we have .gitignore in "exampleSite" with "/public" & "/themes" - - [ ] copy all files in new directory => then see what needs to be committed additionally - -- [ ] test theme - => "hugoBasicExample" - https://github.com/gohugoio/hugoBasicExample - (or include "exampleSite") +- [x] test theme + - [x] "hugoBasicExample" (https://github.com/gohugoio/hugoBasicExample) + => Doesn't work. + - [x] Include "exampleSite". - [x] finish "theme.toml" with all required metadata (add tags!) => check others on "gohugo.io/contribute/themes" @@ -52,11 +52,10 @@ gohugo.io/contribute/themes - [ ] find and finish "projects" stuff - [ ] add examples? - [ ] add more screenshots? + => "list" (company/category) & "single" (project) examples. - [x] add features (404 page, custom css, ...)! -- [ ] finish "config.toml" - -- [ ] check/clean code => could be done later ... +- [x] finish "config.toml" - [x] add screenshot (1500x1000) & tn (900x600), PNG -- cgit v1.2.3 From 17982f01a747c1221f24021fdbeca14f1efee571 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 18:34:58 +0700 Subject: Sample screenshots Screenshots showing the 3 different levels (top list/section, list, post/single). --- images/list.png | Bin 0 -> 44875 bytes images/project.png | Bin 0 -> 431162 bytes images/section.png | Bin 0 -> 75789 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/list.png create mode 100644 images/project.png create mode 100644 images/section.png diff --git a/images/list.png b/images/list.png new file mode 100644 index 0000000..869f281 Binary files /dev/null and b/images/list.png differ diff --git a/images/project.png b/images/project.png new file mode 100644 index 0000000..5e1b9c1 Binary files /dev/null and b/images/project.png differ diff --git a/images/section.png b/images/section.png new file mode 100644 index 0000000..e30198e Binary files /dev/null and b/images/section.png differ -- cgit v1.2.3 From d55efbe6778d6d6c1e75dc12e2b4e142af2fb9e6 Mon Sep 17 00:00:00 2001 From: Derek <42170307+2-REC@users.noreply.github.com> Date: Fri, 16 Nov 2018 18:36:18 +0700 Subject: Added screenshots. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1e46728..e46ab17 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,10 @@ All the parameters except "text" are optional - if not defined, it will not be a - Based on CREATIVE theme, "Portfolio", but with links to other pages. - Content: "config.toml" & corresponding "_index.md" file (from section name). +![Section Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/section.png) +![List Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/list.png) +![Project Screenshot](https://github.com/2-REC/hugo-myportfolio-theme/blob/master/images/project.png) + ### CONTACT: Add contact information -- cgit v1.2.3