Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TODO.md « TODO - github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b16fb1861bd2e327eaef8ebd0441a49f88b99fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
TODO - CODE:

- [ ] General:
    - [ ] Check for css urls (Have to hardcode absolute to work... check others)
    - [ ] Allow to not have the footer
    - [ ] Make better footer
    - [ ] Check/clean the entire code ...
    - [ ] CDN: use font awesome (& jquery, Bootstrap,  etc) from online resource AND from local files (fallback).
        => BOTH (look at: https://forum.freecodecamp.org/t/using-a-fallback-code-in-case-bootstraps-cdn-is-down/160753/11 and https://stackoverflow.com/questions/26192897/should-i-use-bootstrap-from-cdn-or-make-a-copy-on-my-server )
    - [ ] Solve bug of NAVBAR offset when getting back from project page
    - [ ] Update to latest HUGO.
    - [ ] Do microdata stuff (look at MDN docs).
    - [ ] Update to BOOTSTRAP 4+.
    LATER:
    - [ ] Write script to convert CSS.
        => Replace variables by their value (better perf)
        (create a separate git repo/project for the converter)
    - [ ] Make better CSS?
        => Use "em" & "rem" instead of px, etc.
    - [ ] TAGS: Allow to specify parameter to sort list (eg on number of occurrences).
    - [ ] ARIA: Set role for each html tags
        => Look at: https://www.w3.org/TR/html-aria/#document-conformance-requirements-for-use-of-aria-attributes-in-html
    - [ ] See about donation stuff (Patreon?) - in "contact" section?
    - [ ] Handle multi-language (look at UNIVERSAL theme) (+language selector)
    - [ ] Add a page view counter?
    - [ ] Add Google Analytics.
        => googleAnalytics = "..."

- [ ] 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).

- [ ] Navigation Bar:
    - [ ] When not on homepage, have the current section button highlighted (for "projects" sections).
    LATER:
    - [ ] See about image for brand (and possibility to have text instead).
    - [ ] See for additional text at right of brand.    

- [ ] "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?

- [ ] "SERVICES" section:
    - [ ] "services" list parameter should be optional.

- [ ] "SKILLS" section:
    - [ ] "text" parameter should be optional.

- [ ] "PROJECTS" section:
    LATER:
    - [ ] 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.

- [ ] "PROJECTS" list page:
    LATER:
    - [ ] Add a "path" on top, to show where we are, and easy navigate (or in sidebar?!).

- [ ] "PROJECT" single page:
    LATER:
    - [ ] Add a "path" on top, to show where we are, and easy navigate (or in sidebar?!).
    - [ ] Add "content table" on right side (EVEN theme, in a post page).

- [ ] "PROJECTS" Additional pages (related to projects - for each project section):
    - [ ] "PROJECTS":
        => Projects page, containing 1+N sections (N = number of project sections:
            - "TIMELINE": link to "TIMELINE" page.
            - "<SUBSECTION_TYPE>": link to "PROJECTS_<SUBSECTION_TYPE>" - with no subsection selected.
            - "ALL PROJECTS": link to "PROJECTS_<SECTIONS>_ALL" page.
    - [ ] "TIMELINE":
        => Page with vertical timeline (top = present), listing positions in chronological order.
            - When clicking on a company icon, it opens a small pop-up with the position description.
            - In the pop-up, there is a button ("Projects"?) to open the related category projects page ("PROJECTS_SUBSECTION").
    - [ ] "PROJECTS_<SECTIONS>_ALL":
        => Page listing all the projects, with possibility to filter on tags/categories.
            - Similar to "PROJECTS_<SUBSECTION_TYPE>" page.
            - Without position/role block.
            - With a search possibility (could display all the tags).
                => Display projects related to tags.

- [ ] "CONTACT" section:
    - [ ] Add microdata in HTML (as in sidebar of MINIMAL ACADEMIC theme).
    LATER:
    - [ ] Allow to have background on full screen or only right half side (look at homepage of "SPLIT" theme).
    - [ ] Add Contact form (use NETLIFY or "method with ZAPIER").
      => Look at:
        - Pierre Morsa Hugo Form
            => Free, but need "Zapier" and "Slack" accounts (free?)
            https://www.pierremorsa.com/post/2017-11-13-ajouter-formulaire-hugo
        - Netlify (integrated in their services)
            => 100 free submissions per month (19$ per month for 1000 submissions)
            https://www.netlify.com
        - Forma
            => free & open-source (?)
            https://hugs.octolab.net/
            https://kamilsk.github.io/form-api/
        - FormSpree
        - TypeForm
            => 100 free submissions per month
            https://www.typeform.com
        - FormFerret
            => 6$ per form per month
            http://www.formferret.com
        - 99Inbound
        - Formata (BETA)
            => NOT FREE (0.09$ per submission)
            https://www.formata.io/
        - PageClick
            => ?

- [ ] "ASIDE" section:
    => Could add optional section.


CODE CHECK/BUGS:

- layouts
    - _default
        - [ ] baseof.html
            - [ ] Check/adapt CSS for "list-content" & "list-page".

        - [ ] li.html
            - [ ] Change layout of links, and put everything in the "a" tag.
                => Do something similar to "project-box".

        - [ ] limage.html
            - [ ] Determine number of columns and offsets based on content.
                For <div class="col-lg-4 col-sm-6">
                => Could use "get-number-columns.html".

        - [ ] single.html
            - [ ] Keep aria-hidden?
                => And check if needed anywhere else.
            - [ ] Change size of images once have gallery style images (clickable to view)

    - partials
        - pages
            - [ ] lists.html
                - [ ] For posts listing, descend recursively instead of only handling first level.

            - [ ] sidebar.html
                - [ ] Make "categories" & "tags" optional?
                    => Find way to remove them from taxonomy pages (or make them different)
                - [ ] Get texts from data instead of hardcoded ("HOME", "CATEGORIES", "TAGS")
                - [ ] Determine if want "combobox"/collapsable in sidebar
                    => Look at:
                    - DOCBOOK theme
                    - FAQ theme
                        https://themes.gohugo.io/theme/hugo-faq-theme/
                    - simple "more" shortcode
                        https://github.com/jiridj/hugo-collapsible-code
                        https://github.com/jiridj/hugo-collapsible-code-jquery/blob/master/static/js/more.js

            - [ ] title.html
                - [ ] Add a "path" element at beginning for easy navigation.
                    eg: "HOME > WORK_PRO > VRCONTEXT > post"

        - sections
            - [ ] about.html
                - [ ] Add microdata
                    - [ ] For row containing the "profile":
                        - what itemtype? (person? organiation? ...?)
                        <div class="row" itemprop="author" itemscope
                                itemtype="http://schema.org/Person"
                                itemref="{{ if $.Site.Params.email }}person-email{{ end }}{{ if $.Site.Params.phone }} person-telephone{{ end }}{{ if $.Site.Params.address}} person-address{{ end }}"

                            >
                    - [ ] Under "portrait"
                        - See if want/need microdata
                        - Is "meta" tag required? (or microdata can be in div?)
                            <meta itemprop="image" content="{{ (printf "images/%s" .) | absURL }}">
                        - For "short_text"
                            <h2 itemprop="name">{{ . | markdownify }}</h2>

                        - For "long_text"
                            <div class="col-xs-12 col-md-8" itemprop="description">


            -[ ]  contact.html
                - [ ] Add microdata for portrait (and others?)
                    itemprop="description"?
                - [ ] Add form at end (& see how to handle with static site)
                    <div class="col-md-4 col-md-offset-2 text-center">
                        ... (form)
                    </div>

            - [ ] home.html
                - [ ] LATER: BACKGROUND.
                    => Set size to minimum between width and height, keeping ratio (=> image cropped)
                        - Doesn't seem perfect in CREATIVE theme, image sometimes not covering entire screen.
                        => OK or should fix problem?

            - [ ] projects.html
                - [ ] Add "all_projects" at end of list!
                    => set front matter, etc.
                    {{ .Render "limage" }}

            - [ ] services.html
                - [ ] For "services-container"
                    => When updating to BOOTSTRAP 4, use "justify-content-around"

            - [ ] skills.html
                - [ ] For "$data.download"
                    => When updating to BOOTSTRAP 4, use "float-{sm,md,lg,xl}-{left,right,none}" to allow the button to the right (with offset)

                - [ ] For tags & categories:
                    => When updating to HUGO 0.45, replace:
                        {{ with $.Site.GetPage "section" . }}
                        With
                        {{ with $.Site.GetPage . }}

        - utils
            - [ ] get-keywords.html
                - [ ] Add a parameter to specify order (based on wieght, title, occurrences, ...)
                (now hardcoded on alphanumerical value - at end of file)
            - [ ] get-number-columns.html
                - [ ] Enhance by adding "offsets" & "xl" (& "xs", "sm"?)
                    => Output should be such as:
                        .Scratch.Set "col-sizes" "col-md-6 col-lg-4 col-xl-5"
                        .Scratch.Set "col-offsets" "col-xl-offset-1"
                        & in loop: class="{{ .Scratch.Get "col-sizes" }} {{ .Scratch.Get "col-offsets" }} text-center"
                        ! - delete Scratch variables after, & delete "offsets" after first iteration (end of first)!

        - [ ] footer.html
            - [ ] Fix problem that not at bottom of page.
                => Need changes in CSS for main tags (html, body, sections, etc?)
            - [ ] Set content...

        - [ ] gallery.html
            - [ ] Check JQUERY loading.
                => OK to load both files in tail.html? (should only load one)
            - LATER:
                - [ ] Fix ".Inner" stuff (with "figure")
                - [ ] Add "figure.html" file & make changes.
                    => Do the same as for gallery (paths, change to partial instead of shortcode, etc).

        - [ ] head.html
            (Look at backuped file)
            - [ ] Use some "blocks" to allow overriding parts..
            - [ ] See about the custom fonts (if keep same, change, or remove)
                => And see if "safe"/stable to use URLs...
            - [ ] Check end of file (Shim & Respond.js stuff) 
                => Needed? keep?
            - [ ] Look at other header files (in other themes) 
                => "header.html" in Osprey (lots of other stuff!)
            - [ ] Add meta params in config:
                In {{ "<!-- Meta data -->" | safeHTML }}
                - meta
!                    - favicon
                         (& other favicon sutff...?)
?                    - theme
                        <meta name="theme" content="THEME_NAME">
            - [ ] Check if need other meta params in config:
                In {{ "<!-- Meta data -->" | safeHTML }}
                - author
                - description
                - ...?
            - [ ] Check about Google Analytics stuff (at end of file as well).
            - [ ] Check for RSS stuff
            - [ ] check Favicon stuff (what they are & if needed)
                (From "minimal-academic" theme)
                => Could have a "favicon.html"...
            - [ ] For external "libs" (Bootstrap, FontAwesome, JQuery?)
                => Use CDN & fallback on local files. (see links)
                E.g.: for FontAwesome:
                    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
            - [ ] Fonts: see what fonts we use, & what's needed.
                In {{ "<!-- Custom Fonts -->" | safeHTML }}
                => Depends on custom CSS!
            - [ ] Check publish meta stuff.
            - [ ] Check about "shiv" & "respond" stuff.


        - [ ] homepage.html
            - [ ] When updating to HUGO version 0.45, replace:
                {{ with $.Site.GetPage "section" . }}
              with:
                {{ with $.Site.GetPage . }}
            - [ ] use google analytics? (or "google_analytics_async" in header?), or none?
                {{ template "_internal/google_analytics.html" . }


        - [ ] tail.html
            - [ ] For external "libs" (Bootstrap, FontAwesome, JQuery?)
                => Use CDN & fallback on local files. (see links)

- static
    - css
        - [ ] custom.css
            - [ ] Check that all variables are listed.
            - [ ] File should be removed from theme (as it is optional, and name specified in "config.toml").

        - [ ] theme.css
            - [ ] Check/adapt everything.
            - [ ] See licensing stuff at beginning.
            - [ ] Should merge "icons-list" rules with "logos-list" & "images-list" rules.
            - [ ] Change size of ".image" once have gallery style images (clickable to view).
                (also for "@media(max-width: 448px)")
            - [ ] Fix box height problem (cells of different height, aligning badly when medium screen).
                => Update to BOOTSTRAP 4 should solve problem (then can remove "min-height: 300px;").

            - [ ] For "main" "min-height", need to consider header and footer heights as well.
                => Write JS code to get the values.

    - js
        - [ ] Check/adapt license etc.